aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2022-09-05 20:04:47 +0100
committerJuan J. Martinez <jjm@usebox.net>2022-09-05 20:04:47 +0100
commit22db8bbbd85028f19eaef5fec70c12f7706771b1 (patch)
treef598c41c32979a633aa5b2864da12b01960b32a4 /test
parenta594f6f4a886c79c28c40be44caac713fc41a2e5 (diff)
downloadmicro-lang-hs-22db8bbbd85028f19eaef5fec70c12f7706771b1.tar.gz
micro-lang-hs-22db8bbbd85028f19eaef5fec70c12f7706771b1.zip
Much simpler
Diffstat (limited to 'test')
-rw-r--r--test/Main.hs6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/Main.hs b/test/Main.hs
index a5d03a3..9198143 100644
--- a/test/Main.hs
+++ b/test/Main.hs
@@ -2,7 +2,5 @@ import Language (language)
import System.Exit
import Test.HUnit
-main :: IO Counts
-main = do
- counts <- runTestTT $ test language
- if errors counts + failures counts == 0 then exitSuccess else exitFailure
+main :: IO ()
+main = runTestTTAndExit $ test language