summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorU. Artie Eoff <ullysses.a.eoff@intel.com>2014-01-10 21:21:04 (GMT)
committerKristian Høgsberg <krh@bitplanet.net>2014-01-15 18:46:09 (GMT)
commitc0218227fedf12272db39b088aed45198daf5ada (patch)
treeab55828aa706205030c18969874aeb6b4a830e24
parent22a4a95873a4ccfc1c986761782b666442dd244a (diff)
downloadwayland-c0218227fedf12272db39b088aed45198daf5ada.tar.gz
wayland-c0218227fedf12272db39b088aed45198daf5ada.tar.xz
resources-test: assert non-NULL return values
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
-rw-r--r--tests/resources-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/resources-test.c b/tests/resources-test.c
index d7a428a..514c031 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);