Skip to content

Commit 1b28fbd

Browse files
OneDeuxTriSeiGogitster
authored andcommitted
t2400: cleanup created worktree in test
Signed-off-by: Jacob Abel <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b71f919 commit 1b28fbd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

t/t2400-worktree-add.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ test_expect_success 'add -B' '
326326
'
327327

328328
test_expect_success 'add --quiet' '
329+
test_when_finished "git worktree remove -f -f another-worktree" &&
329330
git worktree add --quiet another-worktree main 2>actual &&
330331
test_must_be_empty actual
331332
'

0 commit comments

Comments
 (0)