Skip to content

Commit 8c2d8d0

Browse files
hanwengitster
authored andcommitted
t1410: use test-tool ref-store to inspect reflogs
This makes the test compatible with reftable (it doesn't pass yet for other reasons, unfortunately) Signed-off-by: Han-Wen Nienhuys <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 2b9c120 commit 8c2d8d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

t/t1410-reflog.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,8 @@ test_expect_success 'expire with multiple worktrees' '
418418
test_commit -C link-wt foobar &&
419419
test_tick &&
420420
git reflog expire --verbose --all --expire=$test_tick &&
421-
test_must_be_empty .git/worktrees/link-wt/logs/HEAD
421+
test-tool ref-store worktree:link-wt for-each-reflog-ent HEAD >actual &&
422+
test_must_be_empty actual
422423
)
423424
'
424425

0 commit comments

Comments
 (0)