packages feed

sandwich 0.1.4.0 → 0.1.5.0

raw patch · 6 files changed

+22/−5 lines, 6 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Test.Sandwich.Internal: (:>) :: a -> b -> (:>) (a :: *) (b :: *)
+ Test.Sandwich.Internal: (:>) :: a -> b -> (:>) (a :: Type) (b :: Type)
- Test.Sandwich.Internal: data (a :: *) :> (b :: *)
+ Test.Sandwich.Internal: data (a :: Type) :> (b :: Type)
- Test.Sandwich.Misc: data (a :: *) :> (b :: *)
+ Test.Sandwich.Misc: data (a :: Type) :> (b :: Type)

Files

CHANGELOG.md view
@@ -1,6 +1,10 @@ # Changelog for sandwich -## Unreleased+## Unreleased changes++## 0.1.5.0++* GHC 9.6 support  ## 0.1.4.0 
sandwich.cabal view
@@ -1,11 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.1.+-- This file has been generated from package.yaml by hpack version 0.35.2. -- -- see: https://github.com/sol/hpack  name:           sandwich-version:        0.1.4.0+version:        0.1.5.0 synopsis:       Yet another test framework for Haskell description:    Please see the <https://codedownio.github.io/sandwich documentation>. category:       Testing
src/Test/Sandwich/Formatters/Print/Common.hs view
@@ -12,6 +12,10 @@ import Test.Sandwich.Types.RunTree import Test.Sandwich.Types.Spec +#if MIN_VERSION_mtl(2,3,0)+import Control.Monad+#endif+  finishPrinting :: RunNodeCommon -> Result -> ReaderT (PrintFormatter, Int, Handle) IO () finishPrinting (RunNodeCommonWithStatus {..}) result = do
src/Test/Sandwich/Formatters/Print/FailureReason.hs view
@@ -20,6 +20,10 @@ import Test.Sandwich.Types.Spec import Text.Show.Pretty as P +#if MIN_VERSION_mtl(2,3,0)+import Control.Monad+#endif+  printFailureReason :: FailureReason -> ReaderT (PrintFormatter, Int, Handle) IO () printFailureReason (Reason _ s) = do
src/Test/Sandwich/Formatters/Print/Logs.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-}  module Test.Sandwich.Formatters.Print.Logs where @@ -12,6 +13,10 @@ import Test.Sandwich.Formatters.Print.Types import Test.Sandwich.Formatters.Print.Util import Test.Sandwich.Types.RunTree++#if MIN_VERSION_mtl(2,3,0)+import Control.Monad+#endif   printLogs :: (MonadIO m, MonadReader (PrintFormatter, Int, Handle) m, Foldable t) => TVar (t LogEntry) -> m ()
src/Test/Sandwich/Types/Spec.hs view
@@ -20,7 +20,6 @@ import Control.Applicative import Control.Exception.Safe import Control.Monad.Base-import Control.Monad.Except import Control.Monad.Free import Control.Monad.Free.TH import Control.Monad.IO.Unlift@@ -28,6 +27,7 @@ import Control.Monad.Reader import Control.Monad.Trans.Control import Data.Functor.Classes+import Data.Kind (Type) import Data.Maybe import Data.String.Interpolate import GHC.Stack@@ -149,7 +149,7 @@  -- * Free monad language -data (a :: *) :> (b :: *) = a :> b+data (a :: Type) :> (b :: Type) = a :> b   deriving Show infixr :>