X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=t%2Ft7005-editor.sh;h=25b6d2e67c443efbc9e20edb43ef2df89a40db3c;hb=cecff3a45b4660f47a58746eae42b6ddb58e1919;hp=5257f4d261c2060b881d2649034232f76f4ed9b7;hpb=e8a285e553f8c6c04820a542b2a28816a9d62d3c;p=git.git diff --git a/t/t7005-editor.sh b/t/t7005-editor.sh index 5257f4d26..25b6d2e67 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