diff options
author | Johan Dahlin <johan@gnome.org> | 2010-09-14 18:49:15 -0300 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2010-09-14 18:51:06 -0300 |
commit | 92042d80364697446e3710ace897662de3e222f9 (patch) | |
tree | 09f57df57961f8a1fc75fb60bfddac5b32c95a65 /tests | |
parent | 096d36ff0fa03b7e5e70c9c63935d91bac4dce49 (diff) | |
download | gobject-introspection-92042d80364697446e3710ace897662de3e222f9.tar.gz |
[warningtester] Do not sort expected warnings
Instead just take them in the order they are in the file
Diffstat (limited to 'tests')
-rw-r--r-- | tests/warn/callback-invalid-scope.h | 2 | ||||
-rw-r--r-- | tests/warn/warningtester.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/warn/callback-invalid-scope.h b/tests/warn/callback-invalid-scope.h index c42a49a9..42f1dc31 100644 --- a/tests/warn/callback-invalid-scope.h +++ b/tests/warn/callback-invalid-scope.h @@ -7,5 +7,5 @@ */ void test_callback_invalid(GCallback *callback, gpointer user_data); -// EXPECT:8: Warning: Test: test_callback_invalid: argument callback: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async) // EXPECT:8: Warning: Test: Invalid scope 'invalid' for parameter 'callback' +// EXPECT:8: Warning: Test: test_callback_invalid: argument callback: Missing (scope) annotation for callback without GDestroyNotify (valid: call, async) diff --git a/tests/warn/warningtester.py b/tests/warn/warningtester.py index c856a780..f30e3e04 100644 --- a/tests/warn/warningtester.py +++ b/tests/warn/warningtester.py @@ -59,7 +59,7 @@ def _extract_expected(filename): except ValueError: pass retval.append((sort_key, line[10:])) - return sorted(retval) + return retval def check(args): filename = args[0] |