X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft3020-ls-files-error-unmatch.sh;h=f4da869932e40429f94d19a9cf2e18dc1e838f0a;hb=adf59ec127f447aa83c84f9dbe2ae4e6417f3760;hp=c83f820ad2d8588b8e5e15b3cb55172b26b7c33e;hpb=f16eb1f6a3f9a1a09a61f0cd07e9c9ff9ee54530;p=git.git diff --git a/t/t3020-ls-files-error-unmatch.sh b/t/t3020-ls-files-error-unmatch.sh index c83f820ad..f4da86993 100755 --- a/t/t3020-ls-files-error-unmatch.sh +++ b/t/t3020-ls-files-error-unmatch.sh @@ -15,9 +15,9 @@ touch foo bar git update-index --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' + '! git ls-files --error-unmatch foo bar-does-not-match' test_expect_success \ 'git ls-files --error-unmatch should succeed eith matched paths.' \