@matheusbsbs / matheus-bagliano / commits / 9b92070e52
Fork 0

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 <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Denton Liu committed Dec 20, 2019 at 10:15 UTC 9b92070e5231773f564c1fe631cddd6d436963a5
1 file changed +1 -1
t/t1307-config-blob.sh
+1 -1
@@ -74,7 +74,7 @@ test_expect_success 'can parse blob ending with CR' '
74 '
75
76 test_expect_success 'config --blob outside of a repository is an error' '
77 - test_must_fail nongit git config --blob=foo --list
77 + nongit test_must_fail git config --blob=foo --list
78 '
79
80 test_done