From 32177ba663134879776441be6da03a3bfab2e968 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Wed, 13 Apr 2011 16:17:29 -0700 Subject: i18n: use test_i18ngrep in t7501 Signed-off-by: Junio C Hamano --- t/t7501-commit.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 't') 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" \ -- cgit v1.2.1