X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft3020-ls-files-error-unmatch.sh;h=f4066cbc090a8fd0f6a528eed65d16d705c1bb18;hb=5dc1308562ab5991ecada68b06707709bea408c9;hp=c83f820ad2d8588b8e5e15b3cb55172b26b7c33e;hpb=b9dcf846e20ed5287e239c9a0942c5d150081bab;p=git.git diff --git a/t/t3020-ls-files-error-unmatch.sh b/t/t3020-ls-files-error-unmatch.sh index c83f820ad..f4066cbc0 100755 --- a/t/t3020-ls-files-error-unmatch.sh +++ b/t/t3020-ls-files-error-unmatch.sh @@ -13,11 +13,11 @@ line. touch foo bar git update-index --add foo bar -git-commit -m "add foo bar" +git commit -m "add foo bar" -test_expect_failure \ +test_expect_success \ 'git ls-files --error-unmatch should fail with unmatched path.' \ - 'git ls-files --error-unmatch foo bar-does-not-match' + 'test_must_fail git ls-files --error-unmatch foo bar-does-not-match' test_expect_success \ 'git ls-files --error-unmatch should succeed eith matched paths.' \