aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--haddock.cabal2
-rw-r--r--test/Haddock/ParserSpec.hs (renamed from test/Haddock/ParseSpec.hs)2
-rw-r--r--test/Spec.hs10
3 files changed, 3 insertions, 11 deletions
diff --git a/haddock.cabal b/haddock.cabal
index 8067db7c..b2645f50 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -226,7 +226,7 @@ test-suite spec
, vendor/attoparsec-0.10.4.0
other-modules:
- Haddock.ParseSpec
+ Haddock.ParserSpec
build-depends:
base
diff --git a/test/Haddock/ParseSpec.hs b/test/Haddock/ParserSpec.hs
index b649d901..20d9c2cf 100644
--- a/test/Haddock/ParseSpec.hs
+++ b/test/Haddock/ParserSpec.hs
@@ -3,7 +3,7 @@
, IncoherentInstances #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
-module Haddock.ParseSpec (main, spec) where
+module Haddock.ParserSpec (main, spec) where
import Control.Applicative
import Data.Maybe (isJust)
diff --git a/test/Spec.hs b/test/Spec.hs
index 68521c03..a824f8c3 100644
--- a/test/Spec.hs
+++ b/test/Spec.hs
@@ -1,9 +1 @@
-module Main where
-
-import Test.Hspec
-
-import qualified Haddock.ParseSpec
-
-main :: IO ()
-main = hspec $ do
- describe "Haddock.Parse" Haddock.ParseSpec.spec
+{-# OPTIONS_GHC -F -pgmF hspec-discover #-}