i18n: use test_i18ngrep in t7501

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano 2011-04-13 16:17:29 -07:00
parent 29853c8242
commit 32177ba663

View File

@ -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" \