Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenton Liu <liu.denton@gmail.com>2019-12-20 21:15:56 +0300
committerJunio C Hamano <gitster@pobox.com>2019-12-20 22:30:44 +0300
commit9b92070e5231773f564c1fe631cddd6d436963a5 (patch)
tree0a3aaa928efa85866738243b9e77a03b27709e5a /t/t1307-config-blob.sh
parent3595d10c26db483239d97ca8fc435c1c9dabcfb1 (diff)
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>
Diffstat (limited to 't/t1307-config-blob.sh')
-rwxr-xr-xt/t1307-config-blob.sh2
1 files changed, 1 insertions, 1 deletions
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