diff options
Diffstat (limited to 'tests-clar/stash/drop.c')
| -rw-r--r-- | tests-clar/stash/drop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/stash/drop.c b/tests-clar/stash/drop.c index 39139ccae..b4f73b995 100644 --- a/tests-clar/stash/drop.c +++ b/tests-clar/stash/drop.c @@ -99,7 +99,7 @@ void test_stash_drop__dropping_an_entry_rewrites_reflog_history(void) cl_git_pass(git_stash_drop(repo, 1)); cl_git_pass(git_reflog_read(&reflog, stash)); - entry = git_reflog_entry_byindex(reflog, 1); + entry = git_reflog_entry_byindex(reflog, 0); cl_assert_equal_i(0, git_oid_cmp(&oid, git_reflog_entry_oidold(entry))); cl_assert_equal_i(count - 1, git_reflog_entrycount(reflog)); |
