Code

Merge branch 'jc/fix-diff-files-unmerged'
[git.git] / t / t7501-commit.sh
index 8980738c7540b79eaa566d6054f3e76b202bd27e..7f7f7c7b95475b3b0673de00b68914a08098aead 100755 (executable)
@@ -14,8 +14,12 @@ test_tick
 test_expect_success \
        "initial status" \
        "echo 'bongo bongo' >file &&
-        git add file && \
-        git status | grep 'Initial commit'"
+        git add file"
+
+test_expect_success "Constructing initial commit" '
+       git status >actual &&
+       test_i18ngrep "Initial commit" actual
+'
 
 test_expect_success \
        "fail initial amend" \