summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2015-09-27 16:02:26 -0400
committerColin Walters <walters@verbum.org>2015-09-27 16:02:26 -0400
commitea73b39cfc230e5cb8e5c56ffc83988c573a9513 (patch)
treec8345274c70a9b873716f99e804ef0ade525f0af /tests
parent7c37a16ade424cf063414ce0dd4d170fd2f9c9b1 (diff)
downloadgobject-introspection-ea73b39cfc230e5cb8e5c56ffc83988c573a9513.tar.gz
scanner: Tweak "invalid transfer" warning to show type too
Should help debugging.
Diffstat (limited to 'tests')
-rw-r--r--tests/warn/invalid-transfer.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/warn/invalid-transfer.h b/tests/warn/invalid-transfer.h
index 054bb768..09ef4608 100644
--- a/tests/warn/invalid-transfer.h
+++ b/tests/warn/invalid-transfer.h
@@ -20,11 +20,11 @@ void test_transfer_invalid(GObject *param, GObject *param2, GObject *param3,
// EXPECT:7: Warning: Test: "transfer" annotation needs one option, none given
// EXPECT:8: Warning: Test: invalid "transfer" annotation option: "invalid"
// EXPECT:9: Warning: Test: "transfer" annotation needs one option, 2 given
-// EXPECT:10: Warning: Test: invalid "transfer" annotation: only valid for array, struct, union, boxed, object and interface types
-// EXPECT:11: Warning: Test: invalid "transfer" annotation: only valid for array, struct, union, boxed, object and interface types
-// EXPECT:12: Warning: Test: invalid "transfer" annotation: only valid for array, struct, union, boxed, object and interface types
-// EXPECT:13: Warning: Test: invalid "transfer" annotation: only valid for container types
-// EXPECT:14: Warning: Test: invalid "transfer" annotation: only valid for object and interface types
+// EXPECT:10: Warning: Test: invalid "transfer" annotation for gchar: only valid for array, struct, union, boxed, object and interface types
+// EXPECT:11: Warning: Test: invalid "transfer" annotation for gchar: only valid for array, struct, union, boxed, object and interface types
+// EXPECT:12: Warning: Test: invalid "transfer" annotation for GType: only valid for array, struct, union, boxed, object and interface types
+// EXPECT:13: Warning: Test: invalid "transfer" annotation for Class('Object'): only valid for container types
+// EXPECT:14: Warning: Test: invalid "transfer" annotation for Record('DateTime'): only valid for object and interface types
/**
* test_transfer_return_invalid:
@@ -33,4 +33,4 @@ void test_transfer_invalid(GObject *param, GObject *param2, GObject *param3,
*/
char test_transfer_return_invalid (void);
-// EXPECT:32: Warning: Test: invalid "transfer" annotation: only valid for array, struct, union, boxed, object and interface types
+// EXPECT:32: Warning: Test: invalid "transfer" annotation for gchar: only valid for array, struct, union, boxed, object and interface types