yesod-static: Adapt tests for hspec-1.0 and hspec-1.1
This commit is contained in:
parent
543e815744
commit
ad93e8c729
@ -6,7 +6,7 @@ import Test.Hspec.HUnit ( )
|
|||||||
|
|
||||||
import Yesod.Static (getFileListPieces)
|
import Yesod.Static (getFileListPieces)
|
||||||
|
|
||||||
specs :: [Specs]
|
specs :: Specs
|
||||||
specs = [
|
specs = [
|
||||||
describe "get file list" [
|
describe "get file list" [
|
||||||
it "pieces" $ do
|
it "pieces" $ do
|
||||||
|
|||||||
@ -4,4 +4,4 @@ import Test.Hspec
|
|||||||
import YesodStaticTest (specs)
|
import YesodStaticTest (specs)
|
||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
main = hspecX $ descriptions specs
|
main = hspecX specs
|
||||||
|
|||||||
@ -44,7 +44,7 @@ test-suite tests
|
|||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
cpp-options: -DTEST_EXPORT
|
cpp-options: -DTEST_EXPORT
|
||||||
build-depends: base
|
build-depends: base
|
||||||
, hspec >= 0.8 && < 0.10
|
, hspec >= 1.0 && < 1.2
|
||||||
, HUnit
|
, HUnit
|
||||||
-- copy from above
|
-- copy from above
|
||||||
, containers >= 0.2 && < 0.5
|
, containers >= 0.2 && < 0.5
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user