summaryrefslogtreecommitdiff
path: root/tests/refs/createwithlog.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2014-07-01 14:09:01 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2014-07-01 14:40:16 -0400
commit0cee70ebb7297f155129e0d05f5a23be82231256 (patch)
tree6d98f55d737f4187e58f2a180ffb75f05b98bfba /tests/refs/createwithlog.c
parente1fc03c9baea9864dec90d0aef7aadcc2ff20576 (diff)
downloadlibgit2-0cee70ebb7297f155129e0d05f5a23be82231256.tar.gz
Introduce cl_assert_equal_oid
Diffstat (limited to 'tests/refs/createwithlog.c')
-rw-r--r--tests/refs/createwithlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/refs/createwithlog.c b/tests/refs/createwithlog.c
index 026ff6d6a..ab13d7d15 100644
--- a/tests/refs/createwithlog.c
+++ b/tests/refs/createwithlog.c
@@ -42,7 +42,7 @@ void test_refs_createwithlog__creating_a_direct_reference_adds_a_reflog_entry(vo
entry = git_reflog_entry_byindex(reflog, 0);
cl_assert(git_oid_streq(&entry->oid_old, GIT_OID_HEX_ZERO) == 0);
- cl_assert(git_oid_cmp(&id, &entry->oid_cur) == 0);
+ cl_assert_equal_oid(&id, &entry->oid_cur);
cl_assert_equal_s(message, entry->msg);
git_reflog_free(reflog);