Skip to content

Commit

Permalink
Increase discard ratio so that tests won't prematurely fail
Browse files Browse the repository at this point in the history
  • Loading branch information
kaBeech committed Jun 13, 2024
1 parent 9c402b6 commit a247059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/TestCheck.hs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import Test.QuickCheck
-- ...exit with failure
check :: (Testable prop) => prop -> IO ()
check prop = do
result <- quickCheckResult prop
result <- quickCheckResult (withDiscardRatio 2000 prop)
unless (isPass result) exitFailure

-- | Returns True if a test passes, and False otherwise
Expand Down

0 comments on commit a247059

Please sign in to comment.