From: Junio C Hamano Date: Wed, 13 Apr 2011 23:17:29 +0000 (-0700) Subject: i18n: use test_i18ngrep in t7501 X-Git-Tag: v1.7.5.4~11^2~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=32177ba663134879776441be6da03a3bfab2e968;p=git.git i18n: use test_i18ngrep in t7501 Signed-off-by: Junio C Hamano --- diff --git a/t/t7501-commit.sh b/t/t7501-commit.sh index a76c47419..7f7f7c7b9 100755 --- a/t/t7501-commit.sh +++ b/t/t7501-commit.sh @@ -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" \