diff options
Diffstat (limited to 'tests-clar/stash/drop.c')
| -rw-r--r-- | tests-clar/stash/drop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests-clar/stash/drop.c b/tests-clar/stash/drop.c index 26b571736..c146e90ec 100644 --- a/tests-clar/stash/drop.c +++ b/tests-clar/stash/drop.c @@ -91,13 +91,13 @@ void test_stash_drop__dropping_an_entry_rewrites_reflog_history(void) push_three_states(); cl_git_pass(git_reference_lookup(&stash, repo, "refs/stash")); - + cl_git_pass(git_reflog_read(&reflog, stash)); entry = git_reflog_entry_byindex(reflog, 1); git_oid_cpy(&oid, git_reflog_entry_id_old(entry)); count = git_reflog_entrycount(reflog); - + git_reflog_free(reflog); cl_git_pass(git_stash_drop(repo, 1)); @@ -106,7 +106,7 @@ void test_stash_drop__dropping_an_entry_rewrites_reflog_history(void) entry = git_reflog_entry_byindex(reflog, 0); cl_assert_equal_i(0, git_oid_cmp(&oid, git_reflog_entry_id_old(entry))); - cl_assert_equal_i(count - 1, git_reflog_entrycount(reflog)); + cl_assert_equal_sz(count - 1, git_reflog_entrycount(reflog)); git_reflog_free(reflog); |
