[PATCH v2 10/16] t1307: reorder `nongit test_must_fail`
- From
Denton Liu <liu.denton@gmail.com>
- Date
- Dec 19, 2019, 22:22 UTC
- Message-ID
- <d6ea8a6df0517c34136b0bddbce0948f9c8d448e.1576794144.git.liu.denton@gmail.com>
- In-Reply-To
- <cover.1576794144.git.liu.denton@gmail.com>
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> --- t/t1307-config-blob.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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
-- 2.24.1.703.g2f499f1283