grep: fix coloring of hunk marks between files
[gitweb.git] / t / t7501-commit.sh
index 73e19c50b0d8f57cf36b2d377f0f7b9eb4ce4072..3ad04363b5920497617f806a18a3a5a0083ac1b9 100755 (executable)
@@ -16,9 +16,10 @@ test_expect_success \
        "echo 'bongo bongo' >file &&
         git add file"
 
-test_expect_success C_LOCALE_OUTPUT \
-       "Constructing initial commit" \
-       "git status | grep 'Initial commit'"
+test_expect_success "Constructing initial commit" '
+       git status >actual &&
+       test_i18ngrep "Initial commit" actual
+'
 
 test_expect_success \
        "fail initial amend" \