summaryrefslogtreecommitdiff
path: root/test.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-01-14 00:02:33 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-01-14 00:02:33 -0400
commit59c9eda9624a9d35f44400104e8f022afb0f2f7e (patch)
tree04ab32bcc50e5f30ab6465ac02a7d70b5e749f84 /test.hs
parentc1839fdccb286cb5e83f0cf2d1d2d8e15226b0eb (diff)
on second thought, unlock should fail if content is not present
Diffstat (limited to 'test.hs')
-rw-r--r--test.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.hs b/test.hs
index ee29855b4..2504bc797 100644
--- a/test.hs
+++ b/test.hs
@@ -218,7 +218,7 @@ test_lock = "git-annex unlock/lock" ~: intmpclonerepo $ do
-- regression test: unlock of not present file should skip it
annexed_notpresent annexedfile
r <- git_annex "unlock" ["-q", annexedfile]
- r @? "unlock failed with not present file"
+ not r @? "unlock failed to fail with not present file"
annexed_notpresent annexedfile
git_annex "get" ["-q", annexedfile] @? "get of file failed"