X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=t%2Ft4001-diff-rename.sh;h=2e3c20d6b9468bf413e97d422e7dbe13ac4238cd;hb=17cf250aff26d3baa6b311a3404f1a932e16cf17;hp=be474856824f8e6659151590ed5acff38187e97d;hpb=215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7;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