summaryrefslogtreecommitdiff
path: root/test/runTests.hs
diff options
context:
space:
mode:
Diffstat (limited to 'test/runTests.hs')
-rw-r--r--test/runTests.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/runTests.hs b/test/runTests.hs
index cc21014f..ff780702 100644
--- a/test/runTests.hs
+++ b/test/runTests.hs
@@ -216,8 +216,8 @@ doTest Config{..} (i, fn) = do
216 -> Right ("typechecked module" 216 -> Right ("typechecked module"
217 , simpleShow $ vcat $ e: "------------ desugared source code": intersperse "" (map pShow desug) ++ 217 , simpleShow $ vcat $ e: "------------ desugared source code": intersperse "" (map pShow desug) ++
218 listAllInfos i) 218 listAllInfos i)
219 Right (fname, Right (e, te)) 219 Right (fname, Right (ET e te))
220 | te == outputType -> Right ("compiled pipeline", prettyShowUnlines $ compilePipeline OpenGL33 (e, te)) 220 | te == outputType -> Right ("compiled pipeline", prettyShowUnlines $ compilePipeline OpenGL33 (ET e te))
221 | e == trueExp -> Right ("reducted main", simpleShow $ unfixlabel e) 221 | e == trueExp -> Right ("reducted main", simpleShow $ unfixlabel e)
222 | te == boolType -> Left (tab "!Failed" $ "main should be True but it is \n" ++ ppShow e, Failed) 222 | te == boolType -> Left (tab "!Failed" $ "main should be True but it is \n" ++ ppShow e, Failed)
223 | otherwise -> Right ("reduced main " ++ ppShow te, simpleShow e) 223 | otherwise -> Right ("reduced main " ++ ppShow te, simpleShow e)