aboutsummaryrefslogtreecommitdiff
path: root/html-test/Main.hs
diff options
context:
space:
mode:
authorŁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-08-18 22:30:06 +0200
committerŁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-08-22 23:40:28 +0200
commitebf06f31c1eaf0e9d045f8472548196d47d53431 (patch)
tree52ef05e289efebc4020bfd6f8817477b3a3f7e6b /html-test/Main.hs
parentf7337b12cc3c198a3827c31cbc2854501f360595 (diff)
Fix bug with test runner invoking Haddock in incorrect mode.
Diffstat (limited to 'html-test/Main.hs')
-rwxr-xr-xhtml-test/Main.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/html-test/Main.hs b/html-test/Main.hs
index 49e769f5..724d35ec 100755
--- a/html-test/Main.hs
+++ b/html-test/Main.hs
@@ -25,7 +25,11 @@ dirConfig = (defaultDirConfig $ takeDirectory __FILE__)
main :: IO ()
-main = runAndCheck =<< parseArgs checkConfig dirConfig =<< getArgs
+main = do
+ cfg <- parseArgs checkConfig dirConfig =<< getArgs
+ runAndCheck $ cfg
+ { cfgHaddockArgs = cfgHaddockArgs cfg ++ ["--pretty-html", "--html"]
+ }
stripIfRequired :: String -> Xhtml -> Xhtml