diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2012-03-12 23:54:05 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-03-13 14:26:27 -0700 |
commit | fc5877a6231aca01b63ddfd507bc1180078c09e2 (patch) | |
tree | 07f91ed01667f88d8f2d3948a70827995c73f678 /t/t4049-diff-stat-count.sh | |
parent | fa678feb7ca12e306e2eaeb0078028505ab3318a (diff) | |
download | git-fc5877a6231aca01b63ddfd507bc1180078c09e2.tar.gz |
test: use test_i18ncmp when checking --stat output
Ever since v1.7.9.2~13 (2012-02-01), git's diffstat-style summary line
produced by "git apply --stat", "git diff --stat", and "git commit"
varies by locale, producing test failures when GETTEXT_POISON is set.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4049-diff-stat-count.sh')
-rwxr-xr-x | t/t4049-diff-stat-count.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4049-diff-stat-count.sh b/t/t4049-diff-stat-count.sh index a6d1887536..591ffbc075 100755 --- a/t/t4049-diff-stat-count.sh +++ b/t/t4049-diff-stat-count.sh @@ -19,7 +19,7 @@ test_expect_success setup ' 2 files changed, 2 insertions(+) EOF git diff --stat --stat-count=2 >actual && - test_cmp expect actual + test_i18ncmp expect actual ' test_done |