@matheusbsbs / matheus-bagliano / commits / 32177ba663
Fork 0

i18n: use test_i18ngrep in t7501

Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Apr 13, 2011 at 16:17 UTC 32177ba663134879776441be6da03a3bfab2e968
1 file changed +4 -3
t/t7501-commit.sh
+4 -3
@@ -16,9 +16,10 @@ test_expect_success \
16 "echo 'bongo bongo' >file &&
17 git add file"
18
19 -test_expect_success C_LOCALE_OUTPUT \
20 - "Constructing initial commit" \
21 - "git status | grep 'Initial commit'"
19 +test_expect_success "Constructing initial commit" '
20 + git status >actual &&
21 + test_i18ngrep "Initial commit" actual
22 +'
23
24 test_expect_success \
25 "fail initial amend" \