diff options
author | Simon Hengel <sol@typeful.net> | 2012-10-14 01:51:32 +0200 |
---|---|---|
committer | Simon Hengel <sol@typeful.net> | 2012-10-14 01:51:32 +0200 |
commit | 6fafde62449fa8a5cb8405d6270caa5e1ddac613 (patch) | |
tree | 195cd40192b2f6db7213989d39165b355e2c4c85 /tests | |
parent | 3ba97f8470f401c968a2ea6f5fd1e7cae1c69028 (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.hs | 9 |
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 |