git.iko.soy/typeable/http-api-data
on master help sign in
Merge pull request #2 from sol/master

Depend on hspec >= 1.3

commitc01064dcf20c170f4c5fb33e22f8d043c3ddda95 authorMichael Snoyman <michael@snoyman.com> dateSat 15 Sep 2012, 18:53 (14 years ago) parent5f9b8e7442b100
2 files changed+7−9
path-pieces.cabal+3−4 test/main.hs+4−5
path-pieces.cabal+3−4
@@ -9,7 +9,6 @@ category: Web, Yesod
99stability: unstable
1010cabal-version: >= 1.8
1111build-type: Simple
12−homepage: http://github.com/snoyberg/path-pieces
1312extra-source-files:
1413 test/main.hs
1514
@@ -26,13 +25,13 @@ test-suite test
2625 hs-source-dirs: test
2726 ghc-options: -Wall
2827 build-depends: HUnit
29− , hspec >= 0.8 && < 0.10
28+ , hspec >= 1.3
3029 , file-location >= 0.4 && < 0.5
3130 , base >= 4 && < 5
32− , QuickCheck == 2.4.*
31+ , QuickCheck
3332 , path-pieces
3433 , text
3534
3635source-repository head
3736 type: git
38− location: git://github.com/snoyberg/path-pieces.git
37+ location: https://github.com/yesodweb/path-pieces
test/main.hs+4−5
@@ -2,8 +2,7 @@
22{-# OPTIONS_GHC -fno-warn-orphans #-}
33module Main where
44
5−import Test.Hspec.Monadic (Specs, describe, hspecX)
6−import Test.Hspec.HUnit()
5+import Test.Hspec
76import Test.Hspec.QuickCheck(prop)
87import Test.QuickCheck
98
@@ -18,10 +17,10 @@ instance Arbitrary T.Text where
1817
1918
2019main :: IO ()
21−main = hspecX specs
20+main = hspec spec
2221
23−specs :: Specs
24−specs = do
22+spec :: Spec
23+spec = do
2524 describe "PathPiece" $ do
2625 prop "toPathPiece <=> fromPathPiece String" $ \(p::String) ->
2726 case (fromPathPiece . toPathPiece) p of