summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-09-29 22:28:32 -0700
committerJunio C Hamano <gitster@pobox.com>2012-09-29 22:28:33 -0700
commitda5a2bd525400b9106dfdccc61e2079a97589a0d (patch)
tree0570db7805ae7626487ba9e5e3851a287386a081 /t
parentf06e207c906aacf25441f9093e34ee012f534c24 (diff)
parentaf9c9f97137dfb3f20a17d76520803c0312fd3e4 (diff)
downloadgit-da5a2bd525400b9106dfdccc61e2079a97589a0d.tar.gz
Merge branch 'rr/maint-submodule-unknown-cmd'
* rr/maint-submodule-unknown-cmd: submodule: if $command was not matched, don't parse other args
Diffstat (limited to 't')
-rwxr-xr-xt/t7400-submodule-basic.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t7400-submodule-basic.sh b/t/t7400-submodule-basic.sh
index 56a81cd748..5397037491 100755
--- a/t/t7400-submodule-basic.sh
+++ b/t/t7400-submodule-basic.sh
@@ -438,8 +438,8 @@ test_expect_success 'moving to a commit without submodule does not leave empty d
git checkout second
'
-test_expect_success 'submodule <invalid-path> warns' '
- test_failure_with_unknown_submodule
+test_expect_success 'submodule <invalid-subcommand> fails' '
+ test_must_fail git submodule no-such-subcommand
'
test_expect_success 'add submodules without specifying an explicit path' '