Commit e39f5510 authored by Clint Adams's avatar Clint Adams
Browse files

attoparsec: restrict satisfyWith bytestring test to ASCII

parent 3e1db1ee
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
haskell-attoparsec (0.13.2.2-4) unstable; urgency=medium

  * Restrict satisfyWith bytestring test to ASCII.

 -- Clint Adams <clint@debian.org>  Sat, 14 Apr 2018 16:12:05 -0400

haskell-attoparsec (0.13.2.2-3) unstable; urgency=medium

  * Run tests in C.UTF-8.
+11 −0
Original line number Diff line number Diff line
@@ -9,3 +9,14 @@
     quickcheck-unicode,
     scientific,
     tasty >= 0.11,
--- a/tests/QC/ByteString.hs
+++ b/tests/QC/ByteString.hs
@@ -164,7 +164,7 @@
     , testProperty "peekWord8" peekWord8
     , testProperty "peekWord8'" peekWord8'
     , testProperty "satisfy" satisfy
-    , testProperty "satisfyWith" satisfyWith
+    , testProperty "satisfyWith" (forAll arbitraryASCIIChar satisfyWith)
     , testProperty "scan" scan
     , testProperty "skip" skip
     , testProperty "skipWhile" skipWhile