Skip to content

Commit

Permalink
Merge pull request #60 from kaBeech/fix-test-failure
Browse files Browse the repository at this point in the history
Fix test failure
  • Loading branch information
kaBeech authored Jun 16, 2024
2 parents c9abadb + 43443cd commit 3e68535
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@
## 0.2.0.2 -- 2024-06-13

* Cleanup testing and CI

## 0.2.0.3 -- 2024-06-16

* Improve testing compatibility (fix text breaking Stackage build)
2 changes: 1 addition & 1 deletion tensort.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ name: tensort
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.2.0.2
version: 0.2.0.3

tested-with: GHC==9.8.2,
GHC==9.6.4,
Expand Down
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 (withDiscardRatio 2000 prop)
result <- quickCheckWithResult stdArgs {maxDiscardRatio = 2000} prop
unless (isPass result) exitFailure

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

0 comments on commit 3e68535

Please sign in to comment.