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 <derrickstolee@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Derrick Stolee committed
Jan 27, 2023 at 20:06 UTC
008217cb4a11b1bd9d25eda2d412d813cfeacd9f
1 file changed
+1
-1
t/test-lib-functions.sh
+1
-1
@@ -1016,7 +1016,7 @@ test_must_fail_acceptable () {
1016
fi
1017
1018
case "$1" in
1019
- git|__git*|test-tool|test_terminal)
1019
+ git|__git*|scalar|test-tool|test_terminal)
1020
return 0
1021
;;
1022
*)