packages feed

sydtest-hedgehog 0.3.0.1 → 0.4.0.0

raw patch · 3 files changed

+10/−4 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,11 @@ # Changelog +## [0.4.0.0] - 2023-06-05++### Added++* Compatibility with `sydtest 0.14`+ ## [0.3.0.0] - 2022-05-10  ### Added
src/Test/Syd/Hedgehog.hs view
@@ -86,10 +86,10 @@         ( do             exampleNr <- liftIO $ readTVarIO exampleCounter             liftIO $ report $ ProgressExampleStarting totalExamples exampleNr-            timedResult <- timeItT $ Hedgehog.propertyTest (hedgehogProp outer inner)-            liftIO $ report $ ProgressExampleDone totalExamples exampleNr $ timedTime timedResult+            (result, duration) <- timeItDuration $ Hedgehog.propertyTest (hedgehogProp outer inner)+            liftIO $ report $ ProgressExampleDone totalExamples exampleNr duration             liftIO $ atomically $ modifyTVar' exampleCounter succ-            pure $ timedValue timedResult+            pure result         )         (\_ -> pure ()) -- Don't report progress     report ProgressTestDone
sydtest-hedgehog.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           sydtest-hedgehog-version:        0.3.0.1+version:        0.4.0.0 synopsis:       A Hedgehog companion library for sydtest category:       Testing homepage:       https://github.com/NorfairKing/sydtest#readme