X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft3900-i18n-commit.sh;h=883281dbd6c02ea7b2d90336c2629eafacee0257;hb=9dc784a970ba5cc3871f7244c6bf6a823754f0a0;hp=94b1c24b0a3629a6b06466186006a526bb9b4d9d;hpb=6bc4c72132adbdc06c428f86a96f27e4f8173b99;p=git.git diff --git a/t/t3900-i18n-commit.sh b/t/t3900-i18n-commit.sh index 94b1c24b0..883281dbd 100755 --- a/t/t3900-i18n-commit.sh +++ b/t/t3900-i18n-commit.sh @@ -9,7 +9,7 @@ test_description='commit and log output encodings' compare_with () { git show -s $1 | sed -e '1,/^$/d' -e 's/^ //' >current && - git diff current "$2" + test_cmp current "$2" } test_expect_success setup '