X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=t%2Ft4001-diff-rename.sh;h=2e3c20d6b9468bf413e97d422e7dbe13ac4238cd;hb=74237d6236d7e32f69469ff26df3f3bb3875f523;hp=be474856824f8e6659151590ed5acff38187e97d;hpb=c1067050ce58b5b39f528fe634732da858664603;p=git.git diff --git a/t/t4001-diff-rename.sh b/t/t4001-diff-rename.sh index be474856..2e3c20d6 100755 --- a/t/t4001-diff-rename.sh +++ b/t/t4001-diff-rename.sh @@ -7,6 +7,7 @@ test_description='Test rename detection in diff engine. ' . ./test-lib.sh +. ../diff-lib.sh echo >path0 'Line 1 Line 2 @@ -61,6 +62,6 @@ EOF test_expect_success \ 'validate the output.' \ - 'diff -I "similarity.*" >/dev/null current expected' + 'compare_diff_patch current expected' test_done