Skip to content

Commit 5fe973b

Browse files
mirucamgitster
authored andcommitted
t6030-bisect-porcelain: add test for bisect visualize
Add a test to control breakages in bisect visualize command. Signed-off-by: Miriam Rubio <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 282073c commit 5fe973b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

t/t6030-bisect-porcelain.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -973,4 +973,11 @@ test_expect_success 'bisect run fails with exit code equals or greater than 128'
973973
test_must_fail git bisect run ./test_script.sh
974974
'
975975

976+
test_expect_success 'bisect visualize with a filename with dash and space' '
977+
echo "My test line" >>"./-hello 2" &&
978+
git add -- "./-hello 2" &&
979+
git commit --quiet -m "Add test line" -- "./-hello 2" &&
980+
git bisect visualize -p -- "-hello 2"
981+
'
982+
976983
test_done

0 commit comments

Comments
 (0)