Make tests a bit easier to follow
Clearly demarcate each section of the test suite.
commit4fbebffe8b4d6c8c94358874f345aac6d3d5c782
authorHarry Garrood <harry@garrood.me>
dateThu 31 Dec 2015, 10:41 (11 years ago)
parent0f4e0fd
tests/Main.hs+10
@@ -172,9 +172,19 @@ assertDoesNotCompile inputFiles foreigns = do
172172
173173main :: IO ()
174174main = do
175+ heading "Main compiler test suite"
175176 testCompiler
177+ heading "psc-publish test suite"
176178 testPscPublish
177179
180+ where
181+ heading msg = do
182+ putStrLn ""
183+ putStrLn $ replicate 79 '#'
184+ putStrLn $ "# " ++ msg
185+ putStrLn $ replicate 79 '#'
186+ putStrLn ""
187+
178188testCompiler :: IO ()
179189testCompiler = do
180190 fetchSupportCode