sydtest-hspec 0.3.0.2 → 0.4.0.0
raw patch · 3 files changed
+11/−5 lines, 3 filesdep ~sydtest
Dependency ranges changed: sydtest
Files
- CHANGELOG.md +6/−0
- src/Test/Syd/Hspec.hs +3/−3
- sydtest-hspec.cabal +2/−2
CHANGELOG.md view
@@ -1,5 +1,11 @@ # Changelog +## [0.4.0.0] - 2022-06-05++### Added++* Compatibility with `sydtest 0.14`+ ## [0.3.0.1] - 2022-06-04 ### Added
src/Test/Syd/Hspec.hs view
@@ -111,10 +111,10 @@ ( \takeInner -> applyWrapper2' wrapper $ \() inner -> do exampleNr <- readTVarIO exampleCounter report $ ProgressExampleStarting totalExamples exampleNr- timedResult <- timeItT $ takeInner inner- report $ ProgressExampleDone totalExamples exampleNr $ timedTime timedResult+ (result, duration) <- timeItDuration $ takeInner inner+ report $ ProgressExampleDone totalExamples exampleNr duration atomically $ modifyTVar' exampleCounter succ- pure $ timedValue timedResult+ pure result ) callback report ProgressTestDone
sydtest-hspec.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: sydtest-hspec-version: 0.3.0.2+version: 0.4.0.0 synopsis: An Hspec companion library for sydtest category: Testing homepage: https://github.com/NorfairKing/sydtest#readme@@ -37,7 +37,7 @@ , hspec-core >=2.7.10 , mtl , stm- , sydtest >=0.12.0.0+ , sydtest >=0.14.0.0 default-language: Haskell2010 test-suite sydtest-hspec-test