aboutsummaryrefslogtreecommitdiff
path: root/t/t7501-commit.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-04-13 16:17:29 -0700
committerJunio C Hamano <gitster@pobox.com>2011-04-13 16:17:29 -0700
commit32177ba663134879776441be6da03a3bfab2e968 (patch)
treebf0102210c24027a427fcd4d264f7b1e193c24d6 /t/t7501-commit.sh
parent29853c82424d291f93cf8e45ee2815b85f8a4df3 (diff)
downloadgit-32177ba663134879776441be6da03a3bfab2e968.tar.gz
git-32177ba663134879776441be6da03a3bfab2e968.tar.xz
i18n: use test_i18ngrep in t7501
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7501-commit.sh')
-rwxr-xr-xt/t7501-commit.sh7
1 files changed, 4 insertions, 3 deletions
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" \