polysemy-test 0.3.1.7 → 0.3.1.8
raw patch · 2 files changed
+9/−17 lines, 2 filesdep ~hedgehogdep ~pathdep ~polysemyPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: hedgehog, path, polysemy
API changes (from Hackage documentation)
Files
- lib/Polysemy/Test/Run.hs +3/−3
- polysemy-test.cabal +6/−14
lib/Polysemy/Test/Run.hs view
@@ -11,7 +11,7 @@ import Path.IO (canonicalizePath, createTempDir, getCurrentDir, getTempDir, removeDirRecur) import Polysemy.Fail (Fail, failToError) import Polysemy.Resource (Resource, bracket, resourceToIOFinal)-import Polysemy.Writer (runLazyWriter)+import Polysemy.Writer (runWriter) import System.IO.Error (IOError) import Polysemy.Test.Data.Hedgehog (Hedgehog, liftH)@@ -55,7 +55,7 @@ Members [Error TestError, Embed IO] r => Sem r (Path Abs Dir) createTemp =- fromEither @TestError =<< (embed @IO . runExceptT) do+ fromEither . mapLeft TestError =<< tryAny do systemTmp <- getTempDir createTempDir systemTmp "polysemy-test-" @@ -121,7 +121,7 @@ Sem (Fail : Error TestError : Hedgehog m : r) a -> Sem r (Journal, Either Failure a) unwrapLiftedTestT =- runLazyWriter .+ runWriter . runError . rewriteHedgehog . raiseUnder2 .
polysemy-test.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: polysemy-test-version: 0.3.1.7+version: 0.3.1.8 synopsis: Polysemy effects for testing description: Please see the README on Github at <https://github.com/tek/polysemy-test> category: Test@@ -95,7 +95,7 @@ UndecidableInstances UnicodeSyntax ViewPatterns- ghc-options: -Wall+ ghc-options: -Wall -Wredundant-constraints -Wunused-packages build-depends: base >=4.12 && <5 , containers@@ -181,23 +181,15 @@ UndecidableInstances UnicodeSyntax ViewPatterns- ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N+ ghc-options: -Wall -Wredundant-constraints -Wunused-packages -threaded -rtsopts -with-rtsopts=-N build-depends: base >=4.12 && <5- , containers- , either- , hedgehog >=1.0.2- , path >=0.7- , path-io >=0.2- , polysemy >=1.3+ , hedgehog+ , path+ , polysemy , polysemy-test- , relude >=0.7- , string-interpolate >=0.1 , tasty- , tasty-hedgehog >=1.0.0.2- , template-haskell , text- , transformers mixins: base hiding (Prelude) , polysemy-test hiding (Polysemy.Test.Prelude)