yesod-static: Adapt tests for hspec-1.0 and hspec-1.1

This commit is contained in:
Simon Hengel 2012-05-07 07:18:57 +02:00
parent 543e815744
commit ad93e8c729
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ import Test.Hspec.HUnit ( )
import Yesod.Static (getFileListPieces)
specs :: [Specs]
specs :: Specs
specs = [
describe "get file list" [
it "pieces" $ do

View File

@ -4,4 +4,4 @@ import Test.Hspec
import YesodStaticTest (specs)
main :: IO ()
main = hspecX $ descriptions specs
main = hspecX specs

View File

@ -44,7 +44,7 @@ test-suite tests
type: exitcode-stdio-1.0
cpp-options: -DTEST_EXPORT
build-depends: base
, hspec >= 0.8 && < 0.10
, hspec >= 1.0 && < 1.2
, HUnit
-- copy from above
, containers >= 0.2 && < 0.5