summaryrefslogtreecommitdiff
path: root/dev-haskell/chell-quickcheck/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-haskell/chell-quickcheck/files
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-haskell/chell-quickcheck/files')
-rw-r--r--dev-haskell/chell-quickcheck/files/chell-quickcheck-0.2.5-QC-2.9.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-haskell/chell-quickcheck/files/chell-quickcheck-0.2.5-QC-2.9.patch b/dev-haskell/chell-quickcheck/files/chell-quickcheck-0.2.5-QC-2.9.patch
new file mode 100644
index 000000000000..50a2d07f3caa
--- /dev/null
+++ b/dev-haskell/chell-quickcheck/files/chell-quickcheck-0.2.5-QC-2.9.patch
@@ -0,0 +1,11 @@
+diff --git a/lib/Test/Chell/QuickCheck.hs b/lib/Test/Chell/QuickCheck.hs
+index 56cbd04..c630320 100644
+--- a/lib/Test/Chell/QuickCheck.hs
++++ b/lib/Test/Chell/QuickCheck.hs
+@@ -103,5 +103,3 @@ maxDiscardedTests :: QuickCheck.Testable prop => QuickCheck.Args -> prop -> Int
+ #if MIN_VERSION_QuickCheck(2,5,0)
+-maxDiscardedTests args p = if QuickCheck.exhaustive p
+- then QuickCheck.maxDiscardRatio args
+- else QuickCheck.maxDiscardRatio args * QuickCheck.maxSuccess args
++maxDiscardedTests args _ = QuickCheck.maxDiscardRatio args * QuickCheck.maxSuccess args
+ #else