packages feed

polysemy-test 0.3.1.1 → 0.3.1.2

raw patch · 3 files changed

+14/−10 lines, 3 filesdep ~basedep ~reludePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base, relude

API changes (from Hackage documentation)

Files

polysemy-test.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           polysemy-test-version:        0.3.1.1+version:        0.3.1.2 synopsis:       Polysemy effects for testing description:    Please see the README on Github at <https://github.com/tek/polysemy-test> category:       Test@@ -18,6 +18,8 @@ extra-source-files:     readme.md     changelog.md+data-files:+    test/fixtures/files/file1  library   exposed-modules:@@ -95,7 +97,7 @@       ViewPatterns   ghc-options: -Wall -fplugin=Polysemy.Plugin   build-depends:-      base ==4.*+      base >=4.12 && <5     , containers     , either     , hedgehog >=1.0.2 && <1.1@@ -103,7 +105,7 @@     , path-io >=0.2 && <1.7     , polysemy >=1.3 && <1.6     , polysemy-plugin >=0.2.5-    , relude >=0.7+    , relude >=0.7 && <1.2     , string-interpolate >=0.1 && <0.4     , tasty >=1.1 && <1.5     , tasty-hedgehog >=1.0.0.2 && <1.2@@ -180,9 +182,9 @@       UndecidableInstances       UnicodeSyntax       ViewPatterns-  ghc-options: -Wall -fplugin=Polysemy.Plugin -threaded -rtsopts -with-rtsopts=-N+  ghc-options: -Wall -fplugin=Polysemy.Plugin -threaded -rtsopts -with-rtsopts=-N -fplugin=Polysemy.Plugin   build-depends:-      base ==4.*+      base >=4.12 && <5     , containers     , either     , hedgehog >=1.0.2 && <1.1@@ -191,7 +193,7 @@     , polysemy >=1.3 && <1.6     , polysemy-plugin >=0.2.5     , polysemy-test-    , relude >=0.7+    , relude >=0.7 && <1.2     , string-interpolate >=0.1 && <0.4     , tasty     , tasty-hedgehog >=1.0.0.2 && <1.2
test/Main.hs view
@@ -1,10 +1,9 @@ module Main where -import Test.Tasty (TestTree, defaultMain, testGroup)- import Polysemy.Test (unitTest) import Polysemy.Test.Test.FilesTest (test_fixture, test_tempFile)-import Polysemy.Test.Test.HedgehogTest (test_fail, test_hedgehogRewrite)+import Polysemy.Test.Test.HedgehogTest (test_close, test_fail, test_hedgehogRewrite)+import Test.Tasty (TestTree, defaultMain, testGroup)  tests :: TestTree tests =@@ -12,7 +11,8 @@     unitTest "read fixtures" test_fixture,     unitTest "write and read temp files" test_tempFile,     unitTest "rewrite TestT to Sem" test_hedgehogRewrite,-    unitTest "convert MonadFail to assertion" test_fail+    unitTest "convert MonadFail to assertion" test_fail,+    unitTest "assert that two Doubles are close" test_close   ]  main :: IO ()
+ test/fixtures/files/file1 view
@@ -0,0 +1,2 @@+file+content