]> gitweb.michael.orlitzky.com - email-validator.git/blobdiff - test/TestSuite.hs
Bump the email-validate dependency.
[email-validator.git] / test / TestSuite.hs
index 7dd088001cf81e1459cf41e7965f9bb2b175612e..c93bc62139bb758f694d13b69221e4f5d463a41e 100644 (file)
@@ -1,17 +1,9 @@
-{-# LANGUAGE NoMonomorphismRestriction #-}
-import Data.Monoid (mempty)
-import Test.Framework (
-  Test,
-  defaultMainWithOpts,
-  )
-import Test.Framework.Runners.Options
+import Test.Tasty ( TestTree, defaultMain, testGroup )
 
-import EmailAddress (email_address_tests)
+import EmailAddress ( email_address_tests )
 
-tests :: [Test.Framework.Test]
-tests = [ email_address_tests ]
+tests :: TestTree
+tests = testGroup "All Tests" [ email_address_tests ]
 
 main :: IO ()
-main = do
-  let empty_runner_opts = mempty :: RunnerOptions
-  defaultMainWithOpts tests empty_runner_opts
+main = defaultMain tests