submodule.c: report the submodule that an error occurs in
[gitweb.git] / t / t1506-rev-parse-diagnosis.sh
index 86c2ff255d43d644caf81e6258d29dcea1db8e53..79a0251efa6e049be4fffa41004e73b9950d2bd7 100755 (executable)
@@ -106,7 +106,7 @@ test_expect_success 'incorrect revision id' '
        test_must_fail git rev-parse foobar:file.txt 2>error &&
        grep "Invalid object name '"'"'foobar'"'"'." error &&
        test_must_fail git rev-parse foobar 2> error &&
-       grep "unknown revision or path not in the working tree." error
+       test_i18ngrep "unknown revision or path not in the working tree." error
 '
 
 test_expect_success 'incorrect file in sha1:path' '