sha1-file.c: mark more strings for translation
[gitweb.git] / t / t1506-rev-parse-diagnosis.sh
index 86c2ff255d43d644caf81e6258d29dcea1db8e53..4ee009da666f22f6ff1ddce93dc1f30924c6cc26 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' '
@@ -157,7 +157,7 @@ test_expect_success 'relative path not found' '
 test_expect_success 'relative path outside worktree' '
        test_must_fail git rev-parse HEAD:../file.txt >output 2>error &&
        test -z "$(cat output)" &&
-       grep "outside repository" error
+       test_i18ngrep "outside repository" error
 '
 
 test_expect_success 'relative path when cwd is outside worktree' '