eina: Change assert_ptr_null to asset_ptr_eq(null)
authorLauro Moura <lauromoura@expertisesolutions.com.br>
Thu, 22 Feb 2018 23:37:11 +0000 (20:37 -0300)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 10 Apr 2018 11:10:37 +0000 (20:10 +0900)
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

src/tests/eina/eina_test_vpath.c

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