From 642fc472784380b81bdbec465bde2d62cfd967e7 Mon Sep 17 00:00:00 2001 From: Greg Weber Date: Sat, 20 Aug 2011 10:54:30 -0700 Subject: [PATCH] tighten up hspec version --- install-all.sh | 2 +- yesod-core/yesod-core.cabal | 2 +- yesod-static/tests/unicode/wai-app-static.cabal | 2 +- yesod-static/yesod-static.cabal | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/install-all.sh b/install-all.sh index 42a9a0ac..c6d54c5f 100755 --- a/install-all.sh +++ b/install-all.sh @@ -3,7 +3,7 @@ CABAL=cabal # install testing dependencies -$CABAL install HUnit QuickCheck hspec shelltestrunner +$CABAL install HUnit QuickCheck 'hspec >= 0.6.1 && < 0.7' shelltestrunner || exit 1 PACKAGES="yesod-core yesod-json yesod-static yesod-persistent yesod-newsfeed yesod-form yesod-auth yesod-sitemap yesod" for package in $PACKAGES diff --git a/yesod-core/yesod-core.cabal b/yesod-core/yesod-core.cabal index ab2ffb8a..6ba39440 100644 --- a/yesod-core/yesod-core.cabal +++ b/yesod-core/yesod-core.cabal @@ -90,7 +90,7 @@ test-suite runtests build-depends: base >= 4 && < 4.3 main-is: runtests.hs cpp-options: -DTEST - build-depends: hspec >= 0.6 && < 0.7 + build-depends: hspec >= 0.6.1 && < 0.7 ,wai-test ,HUnit ,QuickCheck >= 2 && < 3 diff --git a/yesod-static/tests/unicode/wai-app-static.cabal b/yesod-static/tests/unicode/wai-app-static.cabal index 4e466afb..6c89fb4e 100644 --- a/yesod-static/tests/unicode/wai-app-static.cabal +++ b/yesod-static/tests/unicode/wai-app-static.cabal @@ -48,7 +48,7 @@ test-suite runtests type: exitcode-stdio-1.0 build-depends: base >= 4 && < 5 - , hspec >= 0.6 + , hspec >= 0.6.1 && < 0.7 , HUnit , unix-compat >= 0.2 && < 0.3 , time >= 1.1.4 && < 1.3 diff --git a/yesod-static/yesod-static.cabal b/yesod-static/yesod-static.cabal index 0e6beb1a..ba110b47 100644 --- a/yesod-static/yesod-static.cabal +++ b/yesod-static/yesod-static.cabal @@ -41,9 +41,9 @@ test-suite runtests type: exitcode-stdio-1.0 cpp-options: -DTEST build-depends: yesod-static, - base >= 4 && < 5, - hspec, - HUnit + , base >= 4 && < 5 + , hspec >= 0.6.1 && < 0.7 + , HUnit ghc-options: -Wall main-is: runtests.hs