diff options
author | Philip Kelley <phkelley@hotmail.com> | 2012-10-16 08:34:28 -0700 |
---|---|---|
committer | Philip Kelley <phkelley@hotmail.com> | 2012-10-16 08:34:28 -0700 |
commit | 9e37305aad734efb83f22b2e292a7591bbf49f15 (patch) | |
tree | 91b7498ffd8f292bac418c9dc0067aead5a435fa /tests-clar/diff/iterator.c | |
parent | ebb867558e734d8c053dd1a292ff9861197bdc4d (diff) | |
parent | 52032ae53689ac37350f6af3bf1834122e4b3cf0 (diff) | |
download | libgit2-9e37305aad734efb83f22b2e292a7591bbf49f15.tar.gz |
Merge pull request #984 from arrbee/fix-fnmatch-and-ignore
Fix single file ignores
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 c27d3fa6c..cca6450d2 100644 --- a/tests-clar/diff/iterator.c +++ b/tests-clar/diff/iterator.c @@ -451,13 +451,13 @@ static void workdir_iterator_test( git_iterator_free(i); - cl_assert(count == expected_count); - cl_assert(count_all == expected_count + expected_ignores); + cl_assert_equal_i(expected_count,count); + cl_assert_equal_i(expected_count + expected_ignores, count_all); } void test_diff_iterator__workdir_0(void) { - workdir_iterator_test("attr", NULL, NULL, 25, 2, NULL, "ign"); + workdir_iterator_test("attr", NULL, NULL, 27, 1, NULL, "ign"); } static const char *status_paths[] = { |