diff options
author | Jiang Xin <worldhello.net@gmail.com> | 2012-08-27 13:36:51 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-08-27 09:26:30 -0700 |
commit | b354f11b595bb2bca4bae96b06778b3a9882b621 (patch) | |
tree | 9a33b85a13ca2def31bac3cf373d67c659d6af93 /t/t4202-log.sh | |
parent | 2878568847d5c437f964dec301370c71758e13cc (diff) | |
download | git-b354f11b595bb2bca4bae96b06778b3a9882b621.tar.gz |
Fix tests under GETTEXT_POISON on diffstat
Use the i18n-specific test functions in test scripts for diffstat.
This issue was was introduced in v1.7.9-1-g7f814:
7f814 Use correct grammar in diffstat summary line
and been broken under GETTEXT_POISON=YesPlease since.
Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4202-log.sh')
-rwxr-xr-x | t/t4202-log.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4202-log.sh b/t/t4202-log.sh index 71be59d446..31869dc0db 100755 --- a/t/t4202-log.sh +++ b/t/t4202-log.sh @@ -803,7 +803,7 @@ sanitize_output () { test_expect_success 'log --graph with diff and stats' ' git log --graph --pretty=short --stat -p >actual && sanitize_output >actual.sanitized <actual && - test_cmp expect actual.sanitized + test_i18ncmp expect actual.sanitized ' test_done |