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.lorimer.id.au/gitweb.git/diff_plain/32177ba663134879776441be6da03a3bfab2e968?ds=inline;hp=--cc i18n: use test_i18ngrep in t7501 Signed-off-by: Junio C Hamano --- 32177ba663134879776441be6da03a3bfab2e968 diff --git a/t/t7501-commit.sh b/t/t7501-commit.sh index a76c474195..7f7f7c7b95 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" \