remote-hg: the author email can be null
[gitweb.git] / t / t7400-submodule-basic.sh
index f1a94f7ca128655de04df01a8b3479b0b95bc18a..de7d45352e001d3c1b2c7f24361dc38dd9e0ea0a 100755 (executable)
@@ -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' '