diff --git a/t/t7005-editor.sh b/t/t7005-editor.sh
index 6355698c6b5d133988270b5c5ded3b0209b1bf03..fe60d699a3d6d00a734e9f0bbc502828c5244b7e 100755 (executable)
--- a/t/t7005-editor.sh
+++ b/t/t7005-editor.sh
test_commit "$msg" &&
echo "$msg" >expect &&
git show -s --format=%s > actual &&
- diff actual expect
+ test_cmp actual expect
'
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
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