X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft5305-include-tag.sh;h=fb471a08c698b431cd2440e9d4f0e77e2fef6b08;hb=c0234b2ef6a8eaa27d9d93c4c96b36d9e82ebf9c;hp=0db27547ac9aa49c4b06ec371f6e04f5b9a7f16c;hpb=2d3cfd77ad5305c132f7b23c192ae6c327443c95;p=git.git diff --git a/t/t5305-include-tag.sh b/t/t5305-include-tag.sh index 0db27547a..fb471a08c 100755 --- a/t/t5305-include-tag.sh +++ b/t/t5305-include-tag.sh @@ -50,7 +50,7 @@ test_expect_success 'check unpacked result (have commit, no tag)' ' test_must_fail git cat-file -e $tag && git rev-list --objects $commit ) >list.actual && - git diff list.expect list.actual + test_cmp list.expect list.actual ' rm -rf clone.git @@ -78,7 +78,7 @@ test_expect_success 'check unpacked result (have commit, have tag)' ' export GIT_DIR && git rev-list --objects $tag ) >list.actual && - git diff list.expect list.actual + test_cmp list.expect list.actual ' test_done