Commit 334f2781 authored by Clint Adams's avatar Clint Adams
Browse files

binary-parsers: patch for newer QuickCheck

parent b332f172
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
haskell-binary-parsers (0.2.3.0-6) unstable; urgency=medium

  * Patch for newer QuickCheck.

 -- Clint Adams <clint@debian.org>  Sat, 14 Apr 2018 22:39:33 -0400

haskell-binary-parsers (0.2.3.0-5) unstable; urgency=medium

  [ Ilias Tsitsimpis ]
+11 −0
Original line number Diff line number Diff line
--- a/tests/QC/ByteString.hs
+++ b/tests/QC/ByteString.hs
@@ -160,7 +160,7 @@
     , testProperty "peekMaybe" peekMaybe
     , testProperty "peek" peek
     , testProperty "satisfy" satisfy
-    , testProperty "satisfyWith" satisfyWith
+    , testProperty "satisfyWith" (forAll arbitraryASCIIChar satisfyWith)
     , testProperty "scan" scan
     , testProperty "skipWord8" skipWord8
     , testProperty "skipWhile" skipWhile
+0 −11
Original line number Diff line number Diff line
--- a/binary-parsers.cabal
+++ b/binary-parsers.cabal
@@ -31,7 +31,7 @@
 
     build-depends:      base == 4.*
                     ,   bytestring == 0.10.*
-                    ,   binary == 0.8.*
+                    ,   binary >= 0.7 && < 0.9
                     ,   bytestring-lexing == 0.5.*
                     ,   scientific > 0.3
 
+1 −1
Original line number Diff line number Diff line
older-binary
newer-quickcheck