diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2014-07-01 14:09:01 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2014-07-01 14:40:16 -0400 |
commit | 0cee70ebb7297f155129e0d05f5a23be82231256 (patch) | |
tree | 6d98f55d737f4187e58f2a180ffb75f05b98bfba /tests/refs/createwithlog.c | |
parent | e1fc03c9baea9864dec90d0aef7aadcc2ff20576 (diff) | |
download | libgit2-0cee70ebb7297f155129e0d05f5a23be82231256.tar.gz |
Introduce cl_assert_equal_oid
Diffstat (limited to 'tests/refs/createwithlog.c')
-rw-r--r-- | tests/refs/createwithlog.c | 2 |
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); |