X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=t%2Ft7005-editor.sh;h=fe60d699a3d6d00a734e9f0bbc502828c5244b7e;hb=bce2c9ae9ff458b6090953ab9f639255f757a104;hp=6355698c6b5d133988270b5c5ded3b0209b1bf03;hpb=a8c4d925caba244de842f8fa663c3e6bb7000b89;p=git.git diff --git a/t/t7005-editor.sh b/t/t7005-editor.sh index 6355698c6..fe60d699a 100755 --- a/t/t7005-editor.sh +++ b/t/t7005-editor.sh @@ -38,7 +38,7 @@ test_expect_success setup ' test_commit "$msg" && echo "$msg" >expect && git show -s --format=%s > actual && - diff actual expect + test_cmp actual expect ' @@ -85,7 +85,7 @@ do git --exec-path=. commit --amend && git show -s --pretty=oneline | sed -e "s/^[0-9a-f]* //" >actual && - diff actual expect + test_cmp actual expect ' done @@ -107,7 +107,7 @@ do git --exec-path=. commit --amend && git show -s --pretty=oneline | sed -e "s/^[0-9a-f]* //" >actual && - diff actual expect + test_cmp actual expect ' done