X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft7504-commit-msg-hook.sh;h=47680e6df41c2bc14f23514b010a8aefb3fedcd7;hb=0eb5ebc1d862737ea2b313d0d77d120b3d114099;hp=88577af9535b5ed7027ec2b6b752df3b78d7bab4;hpb=6d2c1c2dc064c40f6c723e0a25b5f813732fdaff;p=git.git diff --git a/t/t7504-commit-msg-hook.sh b/t/t7504-commit-msg-hook.sh index 88577af95..47680e6df 100755 --- a/t/t7504-commit-msg-hook.sh +++ b/t/t7504-commit-msg-hook.sh @@ -105,7 +105,7 @@ test_expect_success 'with failing hook' ' echo "another" >> file && git add file && - ! git commit -m "another" + test_must_fail git commit -m "another" '