diff options
author | Lauro Moura <lauromoura@expertisesolutions.com.br> | 2018-02-22 20:37:11 -0300 |
---|---|---|
committer | Felipe Magno de Almeida <felipe@expertisesolutions.com.br> | 2018-02-22 20:42:21 -0300 |
commit | bda5a0dd4ab730ddb3fbab90a38cdf33a807ae53 (patch) | |
tree | 8f44190dc7bc44267af6a279e642b9f44aacbab6 /src/tests | |
parent | 2fc4c91917ae303604092457d636bd0fce49724c (diff) | |
download | efl-bda5a0dd4ab730ddb3fbab90a38cdf33a807ae53.tar.gz |
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
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/eina/eina_test_vpath.c | 10 |
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) 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(); } |