]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5523-push-upstream.sh
tests: use test_i18n* functions to suppress false positives
[thirdparty/git.git] / t / t5523-push-upstream.sh
index 3683df13a6ae2208212bd3606187f9876e0562b5..4a7b98b4788b93bd216643ef90a764e144abf3da 100755 (executable)
@@ -75,7 +75,7 @@ test_expect_success TTY 'progress messages go to tty' '
        ensure_fresh_upstream &&
 
        test_terminal git push -u upstream master >out 2>err &&
-       grep "Writing objects" err
+       test_i18ngrep "Writing objects" err
 '
 
 test_expect_success 'progress messages do not go to non-tty' '
@@ -91,7 +91,7 @@ test_expect_success 'progress messages go to non-tty (forced)' '
 
        # force progress messages to stderr, even though it is non-tty
        git push -u --progress upstream master >out 2>err &&
-       grep "Writing objects" err
+       test_i18ngrep "Writing objects" err
 '
 
 test_expect_success TTY 'push -q suppresses progress' '