X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=t%2Ft4000-diff-format.sh;h=beb6d8f4877c157bdf9e3efa2c914e74da863cd5;hb=3e9fabc85ef44fa0f275dd89738a2dacb7b6f5db;hp=f3b6330a9b4af0e68d9e402ab7d82e600c939ccc;hpb=dbc37438687e110697574d175e4eca5f9cbeae81;p=git.git diff --git a/t/t4000-diff-format.sh b/t/t4000-diff-format.sh index f3b6330a..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,6 +49,6 @@ EOF test_expect_success \ 'validate git-diff-files -p output.' \ - 'cmp -s current expected' + 'compare_diff_patch current expected' test_done