aboutsummaryrefslogtreecommitdiff
path: root/tests/html-tests/runtests.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/html-tests/runtests.hs')
-rw-r--r--tests/html-tests/runtests.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/html-tests/runtests.hs b/tests/html-tests/runtests.hs
index 35de8c0b..25e53d1a 100644
--- a/tests/html-tests/runtests.hs
+++ b/tests/html-tests/runtests.hs
@@ -32,7 +32,7 @@ main = do
test = do
x <- doesFileExist haddockPath
- when (not x) $ die "you need to run 'cabal build' successfully first"
+ unless x $ die "you need to run 'cabal build' successfully first"
contents <- getDirectoryContents testDir
args <- getArgs