diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-09-30 09:28:32 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-09-30 09:28:33 +0400 |
commit | da5a2bd525400b9106dfdccc61e2079a97589a0d (patch) | |
tree | 0570db7805ae7626487ba9e5e3851a287386a081 /t/t7400-submodule-basic.sh | |
parent | f06e207c906aacf25441f9093e34ee012f534c24 (diff) | |
parent | af9c9f97137dfb3f20a17d76520803c0312fd3e4 (diff) |
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' ' |