aboutsummaryrefslogtreecommitdiff
path: root/test/Main.hs
blob: a5d03a35d07f7bc51809d9f36ec11a0da770b17d (plain)
1
2
3
4
5
6
7
8
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