]> gitweb.michael.orlitzky.com - email-validator.git/commitdiff
Add the test suite.
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 9 Jun 2013 17:40:30 +0000 (13:40 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 9 Jun 2013 17:40:30 +0000 (13:40 -0400)
test/TestSuite.hs [new file with mode: 0644]

diff --git a/test/TestSuite.hs b/test/TestSuite.hs
new file mode 100644 (file)
index 0000000..7dd0880
--- /dev/null
@@ -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