packages feed

sydtest-hspec 0.4.0.1 → 0.4.0.2

raw patch · 3 files changed

+9/−3 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.2] - 2023-12-06++### Added++* Fixed Compatibility with `hspec-core >= 2.10.1`+ ## [0.4.0.1] - 2023-10-09  ### Added
src/Test/Syd/Hspec.hs view
@@ -33,7 +33,7 @@   doNotRandomiseExecutionOrder $ sequential $ mapM_ importSpecTree trees  runSpecM_ :: Hspec.SpecWith () -> IO [Hspec.SpecTree ()]-#if MIN_VERSION_hspec_core(2,11,0)+#if MIN_VERSION_hspec_core(2,10,1) runSpecM_ = fmap snd . Hspec.runSpecM #else runSpecM_ = Hspec.runSpecM@@ -48,7 +48,7 @@     go = \case       Hspec.Leaf item -> importItem item       Hspec.Node d ts -> describe d $ mapM_ go ts-#if MIN_VERSION_hspec_core(2,11,0)+#if MIN_VERSION_hspec_core(2,10,1)       Hspec.NodeWithCleanup _ cleanup ts -> afterAll_ cleanup (mapM_ go ts) #else #if MIN_VERSION_hspec_core(2,8,0)
sydtest-hspec.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           sydtest-hspec-version:        0.4.0.1+version:        0.4.0.2 synopsis:       An Hspec companion library for sydtest category:       Testing homepage:       https://github.com/NorfairKing/sydtest#readme