summaryrefslogtreecommitdiff
path: root/test/specialized-types.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/specialized-types.c')
-rw-r--r--test/specialized-types.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/specialized-types.c b/test/specialized-types.c
index 7c8b0ed..e0e743a 100644
--- a/test/specialized-types.c
+++ b/test/specialized-types.c
@@ -246,7 +246,7 @@ test_ao_slist (Fixture *f G_GNUC_UNUSED,
GValue eltval = { 0, };
GObject *obj = g_object_new (G_TYPE_OBJECT, NULL);
- g_assert (obj != NULL);
+ g_assert_nonnull (obj);
objects[i] = obj;
g_object_add_weak_pointer (obj, (gpointer) (objects + i));