File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -60,15 +60,9 @@ testAll = hspec $ tests False
6060tests :: Bool -> Spec
6161tests nightly =
6262 describe " constrained" . modifyMaxSuccess (\ ms -> if nightly then ms * 10 else ms) $ do
63- #if MIN_VERSION_QuickCheck(2, 16, 0)
6463 testSpec " setOfPairLetSpec" setOfPairLetSpec
6564 testSpec " setPair" setPair
6665 testSpec " mapElemSpec" mapElemSpec
67- #else
68- testSpecNoShrink " setOfPairLetSpec" setOfPairLetSpec
69- testSpecNoShrink " setPair" setPair
70- testSpecNoShrink " mapElemSpec" mapElemSpec
71- #endif
7266 testSpec " complicatedEither" complicatedEither
7367 testSpec " pairCant" pairCant
7468 -- TODO: figure out why this doesn't shrink
@@ -322,11 +316,13 @@ testSpec' withShrink n s = do
322316 checkCoverage' $
323317 prop_constrained_explained s
324318
319+ # if MIN_VERSION_QuickCheck (2 , 16 , 0 )
325320 when withShrink $
326321 prop " prop_shrink_sound" $
327322 discardAfter 100_000 $
328323 checkCoverage' $
329324 prop_shrink_sound s
325+ # endif
330326
331327------------------------------------------------------------------------
332328-- Test properties of the instance Num (NumSpec Integer)
You can’t perform that action at this time.
0 commit comments