mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
resources-test: assert non-NULL return values
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
This commit is contained in:
parent
22a4a95873
commit
c0218227fe
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue