aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSimon Hengel <sol@typeful.net>2012-10-14 01:51:32 +0200
committerSimon Hengel <sol@typeful.net>2012-10-14 01:51:32 +0200
commit6fafde62449fa8a5cb8405d6270caa5e1ddac613 (patch)
tree195cd40192b2f6db7213989d39165b355e2c4c85 /tests
parent3ba97f8470f401c968a2ea6f5fd1e7cae1c69028 (diff)
Organize unite tests hierarchically
Diffstat (limited to 'tests')
-rw-r--r--tests/unit-tests/Haddock/ParseSpec.hs (renamed from tests/unit-tests/parsetests.hs)2
-rw-r--r--tests/unit-tests/Spec.hs9
2 files changed, 10 insertions, 1 deletions
diff --git a/tests/unit-tests/parsetests.hs b/tests/unit-tests/Haddock/ParseSpec.hs
index 1f923aa0..0c959982 100644
--- a/tests/unit-tests/parsetests.hs
+++ b/tests/unit-tests/Haddock/ParseSpec.hs
@@ -1,6 +1,6 @@
{-# LANGUAGE StandaloneDeriving, FlexibleInstances, UndecidableInstances, IncoherentInstances #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
-module Main (main, spec) where
+module Haddock.ParseSpec (main, spec) where
import Test.Hspec
import RdrName (RdrName)
diff --git a/tests/unit-tests/Spec.hs b/tests/unit-tests/Spec.hs
new file mode 100644
index 00000000..68521c03
--- /dev/null
+++ b/tests/unit-tests/Spec.hs
@@ -0,0 +1,9 @@
+module Main where
+
+import Test.Hspec
+
+import qualified Haddock.ParseSpec
+
+main :: IO ()
+main = hspec $ do
+ describe "Haddock.Parse" Haddock.ParseSpec.spec