Skip to content

Commit 008217c

Browse files
derrickstoleegitster
authored andcommitted
t: allow 'scalar' in test_must_fail
This will enable scalar tests to use the test_must_fail helper, when necessary. Signed-off-by: Derrick Stolee <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5cc9858 commit 008217c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/test-lib-functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ test_must_fail_acceptable () {
10161016
fi
10171017

10181018
case "$1" in
1019-
git|__git*|test-tool|test_terminal)
1019+
git|__git*|scalar|test-tool|test_terminal)
10201020
return 0
10211021
;;
10221022
*)

0 commit comments

Comments
 (0)