aboutsummaryrefslogtreecommitdiff
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.sh6
1 files changed, 3 insertions, 3 deletions
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.' \