From 3bdd9282ce67d1094c36204e77e3f32356a2c059 Mon Sep 17 00:00:00 2001 From: David Waern Date: Fri, 25 Nov 2011 02:16:20 +0100 Subject: Some more changes to test scripts. --- tests/html-tests/runtests.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/html-tests/runtests.hs') 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 -- cgit v1.2.3