web-routes-th 0.22.3 → 0.22.4
raw patch · 2 files changed
+13/−12 lines, 2 filesdep +hspecdep −test-frameworkdep −test-framework-hunitdep −test-framework-quickcheck2PVP ok
version bump matches the API change (PVP)
Dependencies added: hspec
Dependencies removed: test-framework, test-framework-hunit, test-framework-quickcheck2, test-framework-th
API changes (from Hackage documentation)
Files
- test/Test.hs +6/−5
- web-routes-th.cabal +7/−7
test/Test.hs view
@@ -2,10 +2,8 @@ module Main (main) where -import Test.Framework-import Test.Framework.Providers.HUnit-import Test.Framework.Providers.QuickCheck2-import Test.Framework.TH+import Test.Hspec+import Test.Hspec.QuickCheck import Test.HUnit import Test.QuickCheck import Web.Routes@@ -40,4 +38,7 @@ url -> assertFailure $ "expected a Left, but got: " ++ show url main :: IO ()-main = $defaultMainGenerator+main = hspec $ do+ prop "toPathInfo" case_toPathInfo+ prop "fromPathInfo" case_fromPathInfo+ prop "PathInfo_isomorphism" prop_PathInfo_isomorphism
web-routes-th.cabal view
@@ -1,5 +1,5 @@ Name: web-routes-th-Version: 0.22.3+Version: 0.22.4 License: BSD3 License-File: LICENSE Author: jeremy@seereason.com@@ -7,20 +7,21 @@ Bug-Reports: http://bugzilla.seereason.com/ Category: Web, Language Synopsis: Support for deriving PathInfo using Template Haskell+Description: web-routes is a portable library for type-safe URLs. This module adds+ support for creating the URL parsers/printers automatically using+ Template Haskell. Cabal-Version: >= 1.8 Build-type: Simple+tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3 test-suite Test type : exitcode-stdio-1.0 main-is : Test.hs hs-source-dirs : test build-depends : base == 4.*,+ hspec == 2.2.*, HUnit, QuickCheck,- test-framework,- test-framework-hunit,- test-framework-quickcheck2,- test-framework-th, web-routes, web-routes-th @@ -35,5 +36,4 @@ source-repository head type: git- location: https://github.com/Happstack/web-routes.git- subdir: web-routes-th+ location: https://github.com/Happstack/web-routes-th.git