diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-09-30 07:28:32 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-09-30 07:28:33 +0200 |
commit | da5a2bd525400b9106dfdccc61e2079a97589a0d (patch) | |
tree | 0570db7805ae7626487ba9e5e3851a287386a081 /t/t7400-submodule-basic.sh | |
parent | Merge branch 'rs/archive-zip-utf8' (diff) | |
parent | submodule: if $command was not matched, don't parse other args (diff) | |
download | git-da5a2bd525400b9106dfdccc61e2079a97589a0d.tar.xz git-da5a2bd525400b9106dfdccc61e2079a97589a0d.zip |
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/t7400-submodule-basic.sh')
-rwxr-xr-x | t/t7400-submodule-basic.sh | 4 |
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' ' |