summaryrefslogtreecommitdiff
path: root/test.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-01-27 17:58:30 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-01-27 17:58:30 -0400
commit4f9336bb60ca4dc08ca271605de71415c98ec3ff (patch)
treea1fc60bb1b6133d8b8b966f2ea77349c0a9a6d62 /test.hs
parent167523f09d48777f3a5931fdcbc21b9d363e0e6c (diff)
idiom
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 d7a6bd152..5dda3b835 100644
--- a/test.hs
+++ b/test.hs
@@ -88,7 +88,7 @@ test_init = "git-annex init" ~: TestCase $ innewrepo $ do
e <- doesFileExist annexlog
e @? (annexlog ++ " not created")
c <- readFile annexlog
- isInfixOf reponame c @? annexlog ++ " does not contain repo name"
+ reponame `isInfixOf` c @? annexlog ++ " does not contain repo name"
where
annexlog = ".git-annex/uuid.log"
reponame = "test repo"