X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=t%2Ft4000-diff-format.sh;h=beb6d8f4877c157bdf9e3efa2c914e74da863cd5;hb=bf3e274873e56d7df25d60800c8d59a309e0d8c6;hp=91015d76fc5b63e0ffa68eb121bb514aa9a74f8f;hpb=215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7;p=git.git diff --git a/t/t4000-diff-format.sh b/t/t4000-diff-format.sh index 91015d76..beb6d8f4 100755 --- a/t/t4000-diff-format.sh +++ b/t/t4000-diff-format.sh @@ -7,6 +7,7 @@ test_description='Test built-in diff output engine. ' . ./test-lib.sh +. ../diff-lib.sh echo >path0 'Line 1 Line 2 @@ -48,15 +49,6 @@ EOF test_expect_success \ 'validate git-diff-files -p output.' \ - 'cmp -s current expected' - -test_expect_success \ - 'build same diff using git-diff-helper.' \ - 'git-diff-files -z | git-diff-helper -z >current' - - -test_expect_success \ - 'validate git-diff-helper output.' \ - 'cmp -s current expected' + 'compare_diff_patch current expected' test_done