X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft4118-apply-empty-context.sh;h=f92e259cc6f251ec6f89edee3fc16720f264d82f;hb=d5c527448db30be55553e0b125015e8d444f8dbc;hp=27cc6f2b88974051cd521755800342e375d84af7;hpb=b8336519450fdedc8f9cafebc73f7a0226e34e1f;p=git.git diff --git a/t/t4118-apply-empty-context.sh b/t/t4118-apply-empty-context.sh index 27cc6f2b8..f92e259cc 100755 --- a/t/t4118-apply-empty-context.sh +++ b/t/t4118-apply-empty-context.sh @@ -3,7 +3,7 @@ # Copyright (c) 2006 Junio C Hamano # -test_description='git-apply with new style GNU diff with empty context +test_description='git apply with new style GNU diff with empty context ' @@ -38,7 +38,7 @@ test_expect_success 'apply --numstat' ' echo "0 1 file1" && echo "0 1 file2" } >expect && - git diff expect actual + test_cmp expect actual ' @@ -48,9 +48,8 @@ test_expect_success 'apply --apply' ' cat file2.orig >file2 && git update-index file1 file2 && git apply --index diff.output && - git diff file1.mods file1 && - git diff file2.mods file2 + test_cmp file1.mods file1 && + test_cmp file2.mods file2 ' test_done -