diff options
author | Alan Rogers <alan@github.com> | 2014-07-22 09:08:24 +0400 |
---|---|---|
committer | Alan Rogers <alan@github.com> | 2014-07-22 09:08:24 +0400 |
commit | 7d0ab0fae04015e0bc66ff16beae495f13969b10 (patch) | |
tree | 09323e451046ef9dfa6f83754c3fe1fb3d327b48 /tests/status | |
parent | e824e63de6724557946ba155034ff8c864f594d2 (diff) | |
parent | 091165c53b2bcd5d41fb71d43ed5a23a3d96bf5d (diff) |
Merge remote-tracking branch 'origin/master' into fix-git-status-list-new-unreadable-folder
Diffstat (limited to 'tests/status')
-rw-r--r-- | tests/status/single.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/status/single.c b/tests/status/single.c index 292c9120a..6efaab294 100644 --- a/tests/status/single.c +++ b/tests/status/single.c @@ -22,7 +22,7 @@ void test_status_single__hash_single_file(void) cl_set_cleanup(&cleanup__remove_file, (void *)file_name); cl_git_pass(git_odb_hashfile(&actual_id, file_name, GIT_OBJ_BLOB)); - cl_assert(git_oid_cmp(&expected_id, &actual_id) == 0); + cl_assert_equal_oid(&expected_id, &actual_id); } /* test retrieving OID from an empty file apart from the ODB */ @@ -40,6 +40,6 @@ void test_status_single__hash_single_empty_file(void) cl_set_cleanup(&cleanup__remove_file, (void *)file_name); cl_git_pass(git_odb_hashfile(&actual_id, file_name, GIT_OBJ_BLOB)); - cl_assert(git_oid_cmp(&expected_id, &actual_id) == 0); + cl_assert_equal_oid(&expected_id, &actual_id); } |