From: Denton Liu Date: Fri, 20 Dec 2019 18:15:56 +0000 (-0800) Subject: t1307: reorder `nongit test_must_fail` X-Git-Tag: v2.26.0-rc0~98^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b92070e5231773f564c1fe631cddd6d436963a5;p=thirdparty%2Fgit.git t1307: reorder `nongit test_must_fail` In the future, we plan on only allowing `test_must_fail` to work on a restricted subset of commands, including `git`. Reorder the commands so that `nongit` comes before `test_must_fail`. This way, `test_must_fail` operates on a git command. Signed-off-by: Denton Liu Signed-off-by: Junio C Hamano --- diff --git a/t/t1307-config-blob.sh b/t/t1307-config-blob.sh index 37dc689d8c..002e6d3388 100755 --- a/t/t1307-config-blob.sh +++ b/t/t1307-config-blob.sh @@ -74,7 +74,7 @@ test_expect_success 'can parse blob ending with CR' ' ' test_expect_success 'config --blob outside of a repository is an error' ' - test_must_fail nongit git config --blob=foo --list + nongit test_must_fail git config --blob=foo --list ' test_done