[commit: haddock] master: Rename Haddock.ParseSpec to Haddock.ParserSpec (64eb7db)

git at git.haskell.org git at git.haskell.org
Sun Jan 12 20:51:32 UTC 2014


Repository : ssh://git@git.haskell.org/haddock

On branch  : master
Link       : http://git.haskell.org/haddock.git/commitdiff/64eb7dbc465ffea7f7e76f9d4c3a334380cce8ac

>---------------------------------------------------------------

commit 64eb7dbc465ffea7f7e76f9d4c3a334380cce8ac
Author: Simon Hengel <sol at typeful.net>
Date:   Tue Aug 27 21:38:01 2013 +0200

    Rename Haddock.ParseSpec to Haddock.ParserSpec


>---------------------------------------------------------------

64eb7dbc465ffea7f7e76f9d4c3a334380cce8ac
 haddock.cabal                                |    2 +-
 test/Haddock/{ParseSpec.hs => ParserSpec.hs} |    2 +-
 test/Spec.hs                                 |   10 +---------
 3 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/haddock.cabal b/haddock.cabal
index 8067db7..b2645f5 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
similarity index 99%
rename from test/Haddock/ParseSpec.hs
rename to test/Haddock/ParserSpec.hs
index b649d90..20d9c2c 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 68521c0..a824f8c 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 #-}



More information about the ghc-commits mailing list