projects
/
platform
/
upstream
/
wayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22a4a95
)
resources-test: assert non-NULL return values
author
U. Artie Eoff
<ullysses.a.eoff@intel.com>
Fri, 10 Jan 2014 21:21:04 +0000
(13:21 -0800)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 15 Jan 2014 18:46:09 +0000
(10:46 -0800)
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
tests/resources-test.c
patch
|
blob
|
history
diff --git
a/tests/resources-test.c
b/tests/resources-test.c
index
d7a428a
..
514c031
100644
(file)
--- 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);