summaryrefslogtreecommitdiff
path: root/t/t3020-ls-files-error-unmatch.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t3020-ls-files-error-unmatch.sh')
-rwxr-xr-xt/t3020-ls-files-error-unmatch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3020-ls-files-error-unmatch.sh b/t/t3020-ls-files-error-unmatch.sh
index f4da869932..af8c4121ab 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.' \