diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2014-07-01 22:09:01 +0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2014-07-01 22:40:16 +0400 |
commit | 0cee70ebb7297f155129e0d05f5a23be82231256 (patch) | |
tree | 6d98f55d737f4187e58f2a180ffb75f05b98bfba /tests/blame | |
parent | e1fc03c9baea9864dec90d0aef7aadcc2ff20576 (diff) |
Introduce cl_assert_equal_oid
Diffstat (limited to 'tests/blame')
-rw-r--r-- | tests/blame/blame_helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/blame/blame_helpers.c b/tests/blame/blame_helpers.c index 56240dbde..9bb77a52d 100644 --- a/tests/blame/blame_helpers.c +++ b/tests/blame/blame_helpers.c @@ -48,7 +48,7 @@ void check_blame_hunk_index(git_repository *repo, git_blame *blame, int idx, actual, expected); } cl_assert_equal_s(actual, expected); - cl_assert_equal_i(git_oid_cmp(&hunk->final_commit_id, &hunk->orig_commit_id), 0); + cl_assert_equal_oid(&hunk->final_commit_id, &hunk->orig_commit_id); if (strcmp(hunk->orig_path, orig_path)) { |