eina: Change assert_ptr_null to asset_ptr_eq(null)

Summary:
Again, ptr_null/nonnull were added in check 0.11, while we depend on
0.9.10.

Test Plan: Run make check

Reviewers: marcelhollerbach, cedric, felipealmeida

Reviewed By: felipealmeida

Differential Revision: https://phab.enlightenment.org/D5820
This commit is contained in:
Lauro Moura 2018-02-22 20:37:11 -03:00 committed by Felipe Magno de Almeida
parent 2fc4c91917
commit bda5a0dd4a
1 changed files with 5 additions and 5 deletions

View File

@ -36,11 +36,11 @@ START_TEST(eina_test_vpath_invalid)
ret = eina_init(); ret = eina_init();
ck_assert_int_ne(ret, 0); ck_assert_int_ne(ret, 0);
ck_assert_ptr_null(eina_vpath_resolve("(:asdfasdfafasdf")); ck_assert_ptr_eq(eina_vpath_resolve("(:asdfasdfafasdf"), NULL);
ck_assert_ptr_null(eina_vpath_resolve("(:missing_slash:)")); ck_assert_ptr_eq(eina_vpath_resolve("(:missing_slash:)"), NULL);
ck_assert_ptr_null(eina_vpath_resolve("(:")); ck_assert_ptr_eq(eina_vpath_resolve("(:"), NULL);
ck_assert_ptr_null(eina_vpath_resolve("(:home:)")); ck_assert_ptr_eq(eina_vpath_resolve("(:home:)"), NULL);
ck_assert_ptr_null(eina_vpath_resolve("(:wrong_meta_key:)/")); ck_assert_ptr_eq(eina_vpath_resolve("(:wrong_meta_key:)/"), NULL);
ret = eina_shutdown(); ret = eina_shutdown();
} }