diff options
author | Russell Belfer <rb@github.com> | 2012-04-13 10:42:00 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-04-17 10:35:11 -0700 |
commit | 1a6e8f8a54eea1159a950cd8a49cedae3699ff9a (patch) | |
tree | e73489417ecc46ef30acf7a9ac3107e6ebd43ba3 /tests-clar/diff/iterator.c | |
parent | dbeca7969871a00826d662e68cfb4039e77c619b (diff) | |
download | libgit2-1a6e8f8a54eea1159a950cd8a49cedae3699ff9a.tar.gz |
Update clar and remove old helpers
This updates to the latest clar which includes the helpers
`cl_assert_equal_s` and `cl_assert_equal_i`. Convert the code
over to use those and remove the old libgit2-only helpers.
Diffstat (limited to 'tests-clar/diff/iterator.c')
-rw-r--r-- | tests-clar/diff/iterator.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests-clar/diff/iterator.c b/tests-clar/diff/iterator.c index 60f416fad..0ec2326eb 100644 --- a/tests-clar/diff/iterator.c +++ b/tests-clar/diff/iterator.c @@ -37,7 +37,7 @@ static void tree_iterator_test( while (entry != NULL) { if (expected_values != NULL) - cl_assert_strequal(expected_values[count], entry->path); + cl_assert_equal_s(expected_values[count], entry->path); count++; @@ -192,7 +192,7 @@ static void index_iterator_test( while (entry != NULL) { if (expected_names != NULL) - cl_assert_strequal(expected_names[count], entry->path); + cl_assert_equal_s(expected_names[count], entry->path); if (expected_oids != NULL) { git_oid oid; @@ -330,7 +330,7 @@ static void workdir_iterator_test( } if (expected_names != NULL) - cl_assert_strequal(expected_names[count_all], entry->path); + cl_assert_equal_s(expected_names[count_all], entry->path); if (an_ignored_name && strcmp(an_ignored_name,entry->path)==0) cl_assert(ignored); |