File: newer-quickcheck

package info (click to toggle)
haskell-binary-parsers 0.2.3.0-8
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,272 kB
  • sloc: haskell: 2,151; makefile: 5
file content (11 lines) | stat: -rw-r--r-- 426 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- 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