mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 05:50:26 +01:00
test: don't use ck_assert_ptr_null
Breaks the build on Ubuntu which ships check 0.10.0 from pre-Dec 2016. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
b476345959
commit
a1ab4757a4
1 changed files with 1 additions and 1 deletions
|
|
@ -1371,7 +1371,7 @@ START_TEST(strjoin_test)
|
|||
char *str;
|
||||
str = strv_join(t->strv, t->joiner);
|
||||
if (t->result == NULL)
|
||||
ck_assert_ptr_null(str);
|
||||
ck_assert(str == NULL);
|
||||
else
|
||||
ck_assert_str_eq(str, t->result);
|
||||
free(str);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue