diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-04-13 16:17:29 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-04-13 16:17:29 -0700 |
commit | 32177ba663134879776441be6da03a3bfab2e968 (patch) | |
tree | bf0102210c24027a427fcd4d264f7b1e193c24d6 /t | |
parent | 29853c82424d291f93cf8e45ee2815b85f8a4df3 (diff) | |
download | git-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')
-rwxr-xr-x | t/t7501-commit.sh | 7 |
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" \ |