From 9048548dc9dbdf129b16e4c9ac22ca1343261378 Mon Sep 17 00:00:00 2001 From: Ɓukasz Hanuszczak Date: Tue, 4 Aug 2015 18:53:47 +0200 Subject: Improve code style to match popular guidelines. --- html-test/run.hs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'html-test') diff --git a/html-test/run.hs b/html-test/run.hs index 039ff676..d1a134f8 100755 --- a/html-test/run.hs +++ b/html-test/run.hs @@ -146,13 +146,13 @@ checkModule :: String -> IO CheckResult checkModule mdl = do hasRef <- doesFileExist $ refFile mdl if hasRef - then do - out <- readFile $ outFile mdl - ref <- readFile $ refFile mdl - return $ if haddockEq (outFile mdl, out) (refFile mdl, ref) - then Pass - else Fail - else return NoRef + then do + out <- readFile $ outFile mdl + ref <- readFile $ refFile mdl + return $ if haddockEq (outFile mdl, out) (refFile mdl, ref) + then Pass + else Fail + else return NoRef diffModule :: String -> IO () -- cgit v1.2.3