Merge branch 'bw/config-lift-variable-name-length-limit'
[gitweb.git] / t / t7400-submodule-basic.sh
index 56a81cd7486716897cc4f08196d0815a62461ffd..53970374913eaa6f1b5921b14b5f25043974e3a4 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' '