X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft7504-commit-msg-hook.sh;h=47680e6df41c2bc14f23514b010a8aefb3fedcd7;hb=20341dd970b331fd721225ca630548ec1e90d8a5;hp=88577af9535b5ed7027ec2b6b752df3b78d7bab4;hpb=2c0577f74b454e1f50ade0d318ee9b2374c7f35c;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" '