From aca61599a1fa3476a49c34df92a52323f8c83360 Mon Sep 17 00:00:00 2001 From: kaBeech Date: Sun, 16 Jun 2024 00:46:54 -0700 Subject: [PATCH 1/3] Improve testing compatibility Do this by Using stdArgs instead of withDiscardRatio for QuickCheck --- test/TestCheck.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/TestCheck.hs b/test/TestCheck.hs index ef896b9..b1c75bc 100644 --- a/test/TestCheck.hs +++ b/test/TestCheck.hs @@ -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 From 75d1d92b67c47d2f3159841c7eacd3b1e3ac605c Mon Sep 17 00:00:00 2001 From: kaBeech Date: Sun, 16 Jun 2024 00:50:18 -0700 Subject: [PATCH 2/3] Add v0.2.0.3 notes --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f363161..3e03c4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) From 43443cd20eff8ca74f5dbd6a4c89af80ac73674d Mon Sep 17 00:00:00 2001 From: kaBeech Date: Sun, 16 Jun 2024 00:50:46 -0700 Subject: [PATCH 3/3] Bump version number --- tensort.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensort.cabal b/tensort.cabal index 3adf8e6..3d666d6 100644 --- a/tensort.cabal +++ b/tensort.cabal @@ -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,