Skip to content

Commit

Permalink
i18n: use test_i18ngrep in t7501
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Junio C Hamano committed Apr 13, 2011
1 parent 29853c8 commit 32177ba
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions t/t7501-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit 32177ba

Please sign in to comment.