diff options
author | Ben Straub <ben@straubnet.net> | 2012-04-01 06:47:59 +0400 |
---|---|---|
committer | Ben Straub <ben@straubnet.net> | 2012-04-01 06:47:59 +0400 |
commit | 20ec426ddeed994a0198756401b1138287813ad1 (patch) | |
tree | cc99e78faca0a589641830eae2d534d5672d07b4 /tests-clar/index/tests.c | |
parent | fd29cd13b70b9a3a90ca605e2d1a633a08f1daf7 (diff) |
Discovered cl_git_strequal! Mounted a crusade!
Diffstat (limited to 'tests-clar/index/tests.c')
-rw-r--r-- | tests-clar/index/tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/index/tests.c b/tests-clar/index/tests.c index 0f075a001..9edcabe0a 100644 --- a/tests-clar/index/tests.c +++ b/tests-clar/index/tests.c @@ -106,7 +106,7 @@ void test_index_tests__default_test_index(void) for (i = 0; i < ARRAY_SIZE(test_entries); ++i) { git_index_entry *e = entries[test_entries[i].index]; - cl_assert(strcmp(e->path, test_entries[i].path) == 0); + cl_assert_strequal(e->path, test_entries[i].path); cl_assert(e->mtime.seconds == test_entries[i].mtime); cl_assert(e->file_size == test_entries[i].file_size); } |