summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-02-22 20:37:11 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2018-02-22 20:42:21 -0300
commitbda5a0dd4ab730ddb3fbab90a38cdf33a807ae53 (patch)
tree8f44190dc7bc44267af6a279e642b9f44aacbab6
parent2fc4c91917ae303604092457d636bd0fce49724c (diff)
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
-rw-r--r--src/tests/eina/eina_test_vpath.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tests/eina/eina_test_vpath.c b/src/tests/eina/eina_test_vpath.c
index b09d2d5c9a..92e93a6f75 100644
--- a/src/tests/eina/eina_test_vpath.c
+++ b/src/tests/eina/eina_test_vpath.c
@@ -36,11 +36,11 @@ START_TEST(eina_test_vpath_invalid)
36 ret = eina_init(); 36 ret = eina_init();
37 ck_assert_int_ne(ret, 0); 37 ck_assert_int_ne(ret, 0);
38 38
39 ck_assert_ptr_null(eina_vpath_resolve("(:asdfasdfafasdf")); 39 ck_assert_ptr_eq(eina_vpath_resolve("(:asdfasdfafasdf"), NULL);
40 ck_assert_ptr_null(eina_vpath_resolve("(:missing_slash:)")); 40 ck_assert_ptr_eq(eina_vpath_resolve("(:missing_slash:)"), NULL);
41 ck_assert_ptr_null(eina_vpath_resolve("(:")); 41 ck_assert_ptr_eq(eina_vpath_resolve("(:"), NULL);
42 ck_assert_ptr_null(eina_vpath_resolve("(:home:)")); 42 ck_assert_ptr_eq(eina_vpath_resolve("(:home:)"), NULL);
43 ck_assert_ptr_null(eina_vpath_resolve("(:wrong_meta_key:)/")); 43 ck_assert_ptr_eq(eina_vpath_resolve("(:wrong_meta_key:)/"), NULL);
44 44
45 ret = eina_shutdown(); 45 ret = eina_shutdown();
46} 46}