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