felipealmeida pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=bda5a0dd4ab730ddb3fbab90a38cdf33a807ae53

commit bda5a0dd4ab730ddb3fbab90a38cdf33a807ae53
Author: Lauro Moura <lauromo...@expertisesolutions.com.br>
Date:   Thu Feb 22 20:37:11 2018 -0300

    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
---
 src/tests/eina/eina_test_vpath.c | 10 +++++-----
 1 file 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)
    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();
 }

-- 


Reply via email to