test: use test_i18ncmp when checking --stat output
[gitweb.git] / t / t4012-diff-binary.sh
index 2d9f9a0cf1555cab24af19f264d495e134c27352..008cf10a0cc37e18714578fd777c0b734f87d9f4 100755 (executable)
@@ -25,11 +25,11 @@ cat > expected <<\EOF
 EOF
 test_expect_success 'diff without --binary' \
        'git diff | git apply --stat --summary >current &&
-        test_cmp expected current'
+        test_i18ncmp expected current'
 
 test_expect_success 'diff with --binary' \
        'git diff --binary | git apply --stat --summary >current &&
-        test_cmp expected current'
+        test_i18ncmp expected current'
 
 # apply needs to be able to skip the binary material correctly
 # in order to report the line number of a corrupt patch.