aboutsummaryrefslogtreecommitdiff
path: root/haddock.cabal
diff options
context:
space:
mode:
authorMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2013-08-10 13:57:58 +0100
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2013-09-03 01:12:50 +0100
commit489d95b9603c1f34575a67b2d1f069e80769d59a (patch)
tree5859918dcce76857864b5d86c5f34b82eccf912e /haddock.cabal
parent87f255f4407e4548083c8c87d27cdfab08a1f504 (diff)
Use Hspec instead of nanospec
This is motivated by the fact that Haddock tests are not ran by the GHC's ‘validate’ script so we're pretty liberal on dependencies in that area. Full Hspec gives us some nice features such as Quickcheck integration.
Diffstat (limited to 'haddock.cabal')
-rw-r--r--haddock.cabal3
1 files changed, 1 insertions, 2 deletions
diff --git a/haddock.cabal b/haddock.cabal
index 054a50f9..78fbe172 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -205,11 +205,9 @@ test-suite spec
main-is: Spec.hs
hs-source-dirs:
test
- , test/nanospec
, src
other-modules:
- Test.Hspec
Haddock.ParseSpec
build-depends:
@@ -218,6 +216,7 @@ test-suite spec
, containers
, deepseq
, array
+ , hspec
-- NOTE: As of this writing, Cabal does not properly handle alex/happy for
-- test suites. We work around this by adding dist/build to hs-source-dirs,