t2400: cleanup created worktree in test
Signed-off-by: Jacob Abel <jacobabel@nullpo.dev> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
b71f919dda
commit
1b28fbd218
@ -326,6 +326,7 @@ test_expect_success 'add -B' '
|
||||
'
|
||||
|
||||
test_expect_success 'add --quiet' '
|
||||
test_when_finished "git worktree remove -f -f another-worktree" &&
|
||||
git worktree add --quiet another-worktree main 2>actual &&
|
||||
test_must_be_empty actual
|
||||
'
|
||||
|
Reference in New Issue
Block a user