diff --git a/src/Test/QuickCheck/Test.hs b/src/Test/QuickCheck/Test.hs index e994b49f..2069cffb 100644 --- a/src/Test/QuickCheck/Test.hs +++ b/src/Test/QuickCheck/Test.hs @@ -388,7 +388,7 @@ runATest st f = -- Don't add coverage info from this test st{ numDiscardedTests = numDiscardedTests st' + 1 , numRecentlyDiscardedTests = numRecentlyDiscardedTests st' + 1 - , maxSuccessTests = fromMaybe (maxSuccessTests st) (maybeNumTests res) + , maxSuccessTests = fromMaybe (maxSuccessTests st) (maybeNumTests res) , maxDiscardedRatio = fromMaybe (maxDiscardedRatio st) (maybeDiscardedRatio res) , randomSeed = rnd2 } f