diff --git a/tests/resources-test.c b/tests/resources-test.c index d7a428ac..514c0314 100644 --- a/tests/resources-test.c +++ b/tests/resources-test.c @@ -156,6 +156,7 @@ TEST(create_resource_with_same_id) /* this one should replace the old one */ res2 = wl_resource_create(client, &wl_display_interface, 1, id); + assert(res2 != NULL); assert(wl_client_get_object(client, id) == res2); wl_resource_destroy(res2);