X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft3020-ls-files-error-unmatch.sh;h=af8c4121abfc28b7e289b39936df45bd5b82cf22;hb=bb0d283989ec8853ffd72dfb26ff557ffa7781e4;hp=f4da869932e40429f94d19a9cf2e18dc1e838f0a;hpb=30c0312fd182942c10421e77d2b3ec6284cc0468;p=git.git diff --git a/t/t3020-ls-files-error-unmatch.sh b/t/t3020-ls-files-error-unmatch.sh index f4da86993..af8c4121a 100755 --- a/t/t3020-ls-files-error-unmatch.sh +++ b/t/t3020-ls-files-error-unmatch.sh @@ -17,7 +17,7 @@ git-commit -m "add foo bar" 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.' \