diff options
author | David Waern <david.waern@gmail.com> | 2011-11-25 02:16:20 +0100 |
---|---|---|
committer | David Waern <david.waern@gmail.com> | 2011-11-25 02:16:20 +0100 |
commit | 3bdd9282ce67d1094c36204e77e3f32356a2c059 (patch) | |
tree | e8c57a5d9c5658d63297f0ab4616857d51243ab6 /tests/html-tests/runtests.hs | |
parent | 672ab6384a0dbec0f5a09ca7d5437f28aa21c5fe (diff) |
Some more changes to test scripts.
Diffstat (limited to 'tests/html-tests/runtests.hs')
-rw-r--r-- | tests/html-tests/runtests.hs | 2 |
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 |