X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=t%2Ft7504-commit-msg-hook.sh;h=47680e6df41c2bc14f23514b010a8aefb3fedcd7;hb=521ae135b7dcae27fb78e1b941f50158558108e6;hp=88577af9535b5ed7027ec2b6b752df3b78d7bab4;hpb=bc9c3e0b932c5e14de749e07f5045197e7d6cd76;p=~andy%2Fgit 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" '