test_cmp expect msg
'
-test_expect_failure '--amend to set message to empty' '
- echo batรก >file &&
+test_expect_success '--amend to set message to empty' '
+ echo bata >file &&
git add file &&
git commit -m "unamended" &&
git commit --amend --allow-empty-message -m "" &&
test_cmp expect msg
'
-test_expect_failure '--amend to set empty message needs --allow-empty-message' '
+test_expect_success '--amend to set empty message needs --allow-empty-message' '
echo conga >file &&
git add file &&
git commit -m "unamended" &&