Skip to content

Commit 32177ba

Browse files
committed
i18n: use test_i18ngrep in t7501
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 29853c8 commit 32177ba

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

t/t7501-commit.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ test_expect_success \
1616
"echo 'bongo bongo' >file &&
1717
git add file"
1818

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+
'
2223

2324
test_expect_success \
2425
"fail initial amend" \

0 commit comments

Comments
 (0)