[commit: packages/pretty] ghc-head: Fix tests for latest quickcheck. (bf3cbed)

git at git.haskell.org git at git.haskell.org
Sun Oct 27 20:57:48 UTC 2013


Repository : ssh://git@git.haskell.org/pretty

On branch  : ghc-head
Link       : http://git.haskell.org/packages/pretty.git/commitdiff/bf3cbed48a9b00ef693fbc11778b3f099123c256

>---------------------------------------------------------------

commit bf3cbed48a9b00ef693fbc11778b3f099123c256
Author: David Terei <code at davidterei.com>
Date:   Sun Oct 27 11:52:51 2013 -0700

    Fix tests for latest quickcheck.


>---------------------------------------------------------------

bf3cbed48a9b00ef693fbc11778b3f099123c256
 tests/Test.hs |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/Test.hs b/tests/Test.hs
index e1de3ac..bcda271 100644
--- a/tests/Test.hs
+++ b/tests/Test.hs
@@ -38,7 +38,7 @@ main = do
 
 -- tweaked to perform many small tests
 myConfig :: Int -> Int -> Args
-myConfig d n = stdArgs { maxSize = d, maxDiscard = n*5 }
+myConfig d n = stdArgs { maxSize = d, maxDiscardRatio = n*5 }
 
 maxTests :: Int
 maxTests = 1000



More information about the ghc-commits mailing list