From 1b28fbd218cbefc9e5aa8c23d241b7cc8ee85878 Mon Sep 17 00:00:00 2001 From: Jacob Abel Date: Wed, 17 May 2023 21:48:28 +0000 Subject: [PATCH] t2400: cleanup created worktree in test Signed-off-by: Jacob Abel Signed-off-by: Junio C Hamano --- t/t2400-worktree-add.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/t/t2400-worktree-add.sh b/t/t2400-worktree-add.sh index d587e0b20d..a3f108347a 100755 --- a/t/t2400-worktree-add.sh +++ b/t/t2400-worktree-add.sh @@ -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 '