]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t3700-add.sh
add: mark --chmod error string for translation
[thirdparty/git.git] / t / t3700-add.sh
index fc81f2ef005877d5004b4176c198700d95e3dc33..6a8b94a4f742c83780819f3964fc19a200782dff 100755 (executable)
@@ -398,7 +398,7 @@ test_expect_success 'git add --chmod --dry-run reports error for non regular fil
        git reset --hard &&
        test_ln_s_add foo foo4 &&
        git add --chmod=+x --dry-run foo4 2>stderr &&
-       grep "cannot chmod +x .foo4." stderr
+       test_i18ngrep "cannot chmod +x .foo4." stderr
 '
 
 test_expect_success 'git add --chmod --dry-run reports error for unmatched pathspec' '