aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Hengel <sol@typeful.net>2013-08-27 21:38:01 +0200
committerAustin Seipp <austin@well-typed.com>2014-01-12 14:48:35 -0600
commit64eb7dbc465ffea7f7e76f9d4c3a334380cce8ac (patch)
treee02673092cef297b5e5d128bb4b42ae2b382d677
parentbb6cef20b82ef7a7f2d49f3ef6dc1a7ce880b5f0 (diff)
Rename Haddock.ParseSpec to Haddock.ParserSpec
-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 #-}