]> asedeno.scripts.mit.edu Git - git.git/blobdiff - t/t3020-ls-files-error-unmatch.sh
git-add --all: tests
[git.git] / t / t3020-ls-files-error-unmatch.sh
index c83f820ad2d8588b8e5e15b3cb55172b26b7c33e..af8c4121abfc28b7e289b39936df45bd5b82cf22 100755 (executable)
@@ -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'
+    '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.' \