diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2012-03-13 00:05:54 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-03-13 14:26:33 -0700 |
commit | 6dd88832e77ad7c0c7f82522d3741b5b7bf62fbd (patch) | |
tree | 52a1cb27cd23d28d71dbf9647b759ac2ad2d967e /t/t4030-diff-textconv.sh | |
parent | 2983c0e22a5b6a56b8f5d7bb2dd2a3a0e26ac005 (diff) | |
download | git-6dd88832e77ad7c0c7f82522d3741b5b7bf62fbd.tar.gz |
diffstat summary line varies by locale: miscellanyjn/diffstat-tests
These changes are in the same spirit as the six patches that
precede them, but they haven't been split into individually
justifiable patches yet.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4030-diff-textconv.sh')
-rwxr-xr-x | t/t4030-diff-textconv.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/t/t4030-diff-textconv.sh b/t/t4030-diff-textconv.sh index 4ac162cfcf..06b05df848 100755 --- a/t/t4030-diff-textconv.sh +++ b/t/t4030-diff-textconv.sh @@ -91,7 +91,11 @@ EOF test_expect_success 'diffstat does not run textconv' ' echo file diff=fail >.gitattributes && git diff --stat HEAD^ HEAD >actual && - test_cmp expect.stat actual + test_i18ncmp expect.stat actual && + + head -n1 <expect.stat >expect.line1 && + head -n1 <actual >actual.line1 && + test_cmp expect.line1 actual.line1 ' # restore working setup echo file diff=foo >.gitattributes |