Use withNumTests and require QuickCheck >= 2.18.

This commit is contained in:
John MacFarlane
2026-08-21 23:27:19 -07:00
parent 92937d23b3
commit b38743d218
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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,
+1 -1
View File
@@ -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
]