hspec-meta 2.9.0 → 2.9.0.1
raw patch · 5 files changed
+5/−6 lines, 5 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Test.Hspec.Meta: class IsFormatter a
- Test.Hspec.Meta: hspecWithFormatter :: IsFormatter a => a -> Spec -> IO ()
- Test.Hspec.Meta: postProcessSpec :: FilePath -> Spec -> Spec
- Test.Hspec.Meta: toFormatter :: IsFormatter a => a -> IO Formatter
+ Test.Hspec.Discover: class IsFormatter a
+ Test.Hspec.Discover: describe :: HasCallStack => String -> SpecWith a -> SpecWith a
+ Test.Hspec.Discover: hspec :: Spec -> IO ()
+ Test.Hspec.Discover: hspecWithFormatter :: IsFormatter a => a -> Spec -> IO ()
+ Test.Hspec.Discover: instance Test.Hspec.Discover.IsFormatter (GHC.Types.IO Test.Hspec.Core.Formatters.V1.Monad.Formatter)
+ Test.Hspec.Discover: instance Test.Hspec.Discover.IsFormatter Test.Hspec.Core.Formatters.V1.Monad.Formatter
+ Test.Hspec.Discover: postProcessSpec :: FilePath -> Spec -> Spec
+ Test.Hspec.Discover: toFormatter :: IsFormatter a => a -> IO Formatter
+ Test.Hspec.Discover: type Spec = SpecWith ()
Files
- hspec-discover/src/Test/Hspec/Discover/Run.hs +1/−1
- hspec-meta.cabal +2/−2
- src/Test/Hspec/Discover.hs +1/−0
- src/Test/Hspec/Meta.hs +0/−2
- version.yaml +1/−1
hspec-discover/src/Test/Hspec/Discover/Run.hs view
@@ -64,7 +64,7 @@ . showString "{-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}\n" . showString ("module " ++ moduleName src conf ++" where\n") . importList nodes- . showString "import Test.Hspec.Meta\n"+ . showString "import Test.Hspec.Discover\n" . maybe driver driverWithFormatter (configFormatter conf) . showString "spec :: Spec\n" . showString "spec = "
hspec-meta.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: hspec-meta-version: 2.9.0+version: 2.9.0.1 synopsis: A version of Hspec which is used to test Hspec itself description: A stable version of Hspec which is used to test the in-development version of Hspec.@@ -30,9 +30,9 @@ library exposed-modules: Test.Hspec.Meta+ Test.Hspec.Discover other-modules: Test.Hspec- Test.Hspec.Discover Test.Hspec.Formatters Test.Hspec.QuickCheck Test.Hspec.Runner
src/Test/Hspec/Discover.hs view
@@ -8,6 +8,7 @@ , hspecWithFormatter , postProcessSpec , describe+, module Prelude ) where import Test.Hspec.Core.Spec
src/Test/Hspec/Meta.hs view
@@ -1,10 +1,8 @@ {-# OPTIONS_GHC -fno-warn-deprecations #-} module Test.Hspec.Meta ( module Test.Hspec-, module Test.Hspec.Discover , hspecResult ) where import Test.Hspec import Test.Hspec.Runner-import Test.Hspec.Discover
version.yaml view
@@ -1,1 +1,1 @@-&version 2.9.0+&version 2.9.0.1