summaryrefslogtreecommitdiff
path: root/Test.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Test.hs')
-rw-r--r--Test.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Test.hs b/Test.hs
index 6d010917e..eeba44dbb 100644
--- a/Test.hs
+++ b/Test.hs
@@ -941,8 +941,8 @@ unannexed = runchecks [checkregularfile, checkcontent, checkwritable]
prepare :: IO ()
prepare = do
- whenM (doesDirectoryExist) tmpdir $
- error $ "The temporary directory " ++ tmpdir ++ "already exists; cannot run test suite."
+ whenM (doesDirectoryExist tmpdir) $
+ error $ "The temporary directory " ++ tmpdir ++ " already exists; cannot run test suite."
-- While PATH is mostly avoided, the commit hook does run it,
-- and so does git_annex_output. Make sure that the just-built