X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft4012-diff-binary.sh;h=3cf5b5c4ea05d861d75aa146a52d7d273dcaa4cb;hb=bc9c0248a5cf184756ba562d6c452cace8863517;hp=421f4bba3fbc666cf2ab7ec4289f10d29d61eebb;hpb=ca6c06b2efe2f55c498670efcb419bce35678e03;p=git.git diff --git a/t/t4012-diff-binary.sh b/t/t4012-diff-binary.sh index 421f4bba3..3cf5b5c4e 100755 --- a/t/t4012-diff-binary.sh +++ b/t/t4012-diff-binary.sh @@ -25,11 +25,11 @@ cat > expected <<\EOF EOF test_expect_success 'diff without --binary' \ 'git diff | git apply --stat --summary >current && - cmp current expected' + test_cmp expected current' test_expect_success 'diff with --binary' \ 'git diff --binary | git apply --stat --summary >current && - cmp current expected' + test_cmp expected current' # apply needs to be able to skip the binary material correctly # in order to report the line number of a corrupt patch.