diff --git a/pandoc.cabal b/pandoc.cabal index 26df4b819..07fded258 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -855,6 +855,7 @@ test-suite test-pandoc tasty-golden >= 2.3 && < 2.4, tasty-hunit >= 0.9 && < 0.11, tasty-quickcheck >= 0.8 && < 0.12, + QuickCheck >= 2.18 && < 2.19, text >= 1.1.1.0 && < 2.2, temporary >= 1.1 && < 1.4, time >= 1.5 && < 1.17, diff --git a/test/Tests/Readers/HTML.hs b/test/Tests/Readers/HTML.hs index 4ad6d5969..e0e8c1e65 100644 --- a/test/Tests/Readers/HTML.hs +++ b/test/Tests/Readers/HTML.hs @@ -139,7 +139,7 @@ tests = [ testGroup "base tag" ] , askOption $ \(QuickCheckTests numtests) -> testProperty "Round trip" $ - withMaxSuccess (if QuickCheckTests numtests == defaultValue + withNumTests (if QuickCheckTests numtests == defaultValue then 25 else numtests) roundTrip ]