diff options
| author | nulltoken <emeric.fermas@gmail.com> | 2012-07-17 10:53:19 +0200 |
|---|---|---|
| committer | nulltoken <emeric.fermas@gmail.com> | 2012-07-25 07:53:27 +0200 |
| commit | 7c458e3aee7b39bfec368456d494972fe9ae244b (patch) | |
| tree | 03c3115e072c1c08e54a16abb4808b55b4e32b7e /tests-clar | |
| parent | 1cb157184b6547b613a008455ba386425bb38a23 (diff) | |
| download | libgit2-7c458e3aee7b39bfec368456d494972fe9ae244b.tar.gz | |
reflog: add GIT_OID_HEX_ZERO constant
Diffstat (limited to 'tests-clar')
| -rw-r--r-- | tests-clar/refs/reflog/reflog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/refs/reflog/reflog.c b/tests-clar/refs/reflog/reflog.c index 45da8c338..fb69dd2f1 100644 --- a/tests-clar/refs/reflog/reflog.c +++ b/tests-clar/refs/reflog/reflog.c @@ -73,7 +73,7 @@ void test_refs_reflog_reflog__write_then_read(void) entry = (git_reflog_entry *)git_vector_get(&reflog->entries, 0); assert_signature(committer, entry->committer); git_oid_tostr(oid_str, GIT_OID_HEXSZ+1, &entry->oid_old); - cl_assert_equal_s("0000000000000000000000000000000000000000", oid_str); + cl_assert_equal_s(GIT_OID_HEX_ZERO, oid_str); git_oid_tostr(oid_str, GIT_OID_HEXSZ+1, &entry->oid_cur); cl_assert_equal_s(current_master_tip, oid_str); cl_assert(entry->msg == NULL); |
