X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=t%2Ft3700-add.sh;h=7d123d17fc156c61a8e85a399c3762e8075485de;hb=d492b31cafe9aa5ce001b1d48815f4c0bb40d01a;hp=e83fa1f6894dd13eb11cae6afb8ecbd3dcb999db;hpb=5a26973025bce74782571844c7b8091d1cd7c405;p=git.git diff --git a/t/t3700-add.sh b/t/t3700-add.sh index e83fa1f68..7d123d17f 100755 --- a/t/t3700-add.sh +++ b/t/t3700-add.sh @@ -85,12 +85,12 @@ test_expect_success '.gitignore is honored' ' ' test_expect_success 'error out when attempting to add ignored ones without -f' ' - ! git add a.?? && + test_must_fail git add a.?? && ! (git ls-files | grep "\\.ig") ' test_expect_success 'error out when attempting to add ignored ones without -f' ' - ! git add d.?? && + test_must_fail git add d.?? && ! (git ls-files | grep "\\.ig") '