packages feed

chell-quickcheck 0.2.1 → 0.2.2

raw patch · 2 files changed

+14/−9 lines, 2 filesdep ~QuickCheckPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: QuickCheck

API changes (from Hackage documentation)

Files

chell-quickcheck.cabal view
@@ -1,5 +1,5 @@ name: chell-quickcheck-version: 0.2.1+version: 0.2.2 license: MIT license-file: license.txt author: John Millikin <jmillikin@gmail.com>@@ -13,13 +13,13 @@ synopsis: QuickCheck support for the Chell testing library  source-repository head-  type: bazaar-  location: https://john-millikin.com/branches/chell-quickcheck/0.2/+  type: git+  location: https://john-millikin.com/code/chell-quickcheck/  source-repository this-  type: bazaar-  location: https://john-millikin.com/branches/chell-quickcheck/0.2/-  tag: chell-quickcheck_0.2.1+  type: git+  location: https://john-millikin.com/code/chell-quickcheck/+  tag: chell-quickcheck_0.2.2  library   hs-source-dirs: lib@@ -28,7 +28,7 @@   build-depends:       base >= 4.0 && < 5.0     , chell >= 0.3 && < 0.4-    , QuickCheck >= 2.3 && < 2.6+    , QuickCheck >= 2.3 && < 2.7     , random    exposed-modules:
lib/Test/Chell/QuickCheck.hs view
@@ -25,10 +25,15 @@ --    (\xs -> not (null xs) ==> length xs > 0) -- @ property :: QuickCheck.Testable prop => String -> prop -> Chell.Test+#if MIN_VERSION_QuickCheck(2,6,0)+property name prop = Chell.test name $ \opts ->+	Text.withNullTerminal $ \term -> do+#else property name prop = Chell.test name $ \opts -> do-	let seed = Chell.testOptionSeed opts-	 	term <- Text.newNullTerminal+#endif+	+	let seed = Chell.testOptionSeed opts 	 	let args = QuickCheck.stdArgs 	let state = State.MkState