From: Michael Orlitzky Date: Sun, 9 Jun 2013 17:40:30 +0000 (-0400) Subject: Add the test suite. X-Git-Tag: 0.0.2~9 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=2a7f245979ec1dc33657cba9ee14144a77e45e25;p=email-validator.git Add the test suite. --- diff --git a/test/TestSuite.hs b/test/TestSuite.hs new file mode 100644 index 0000000..7dd0880 --- /dev/null +++ b/test/TestSuite.hs @@ -0,0 +1,17 @@ +{-# LANGUAGE NoMonomorphismRestriction #-} +import Data.Monoid (mempty) +import Test.Framework ( + Test, + defaultMainWithOpts, + ) +import Test.Framework.Runners.Options + +import EmailAddress (email_address_tests) + +tests :: [Test.Framework.Test] +tests = [ email_address_tests ] + +main :: IO () +main = do + let empty_runner_opts = mempty :: RunnerOptions + defaultMainWithOpts tests empty_runner_opts