hspec 2.11.16 → 2.11.17
raw patch · 6 files changed
+11/−19 lines, 6 filesdep ~hspec-coredep ~hspec-discover
Dependency ranges changed: hspec-core, hspec-discover
Files
- CHANGES.markdown +3/−0
- LICENSE +1/−1
- hspec.cabal +6/−7
- src/Test/Hspec.hs +0/−5
- src/Test/Hspec/Discover.hs +0/−5
- version.yaml +1/−1
CHANGES.markdown view
@@ -1,3 +1,6 @@+## Changes in 2.11.17 (2026-03-04)+ - Compatibility with QuickCheck 2.18+ ## Changes in 2.11.16 (2025-12-12) - Add support for MicroHs
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2011-2025 Simon Hengel <sol@typeful.net>+Copyright (c) 2011-2026 Simon Hengel <sol@typeful.net> Copyright (c) 2011-2012 Trystan Spangler <trystan.s@comcast.net> Copyright (c) 2011-2011 Greg Weber <greg@gregweber.info>
hspec.cabal view
@@ -5,10 +5,10 @@ -- see: https://github.com/sol/hpack name: hspec-version: 2.11.16+version: 2.11.17 license: MIT license-file: LICENSE-copyright: (c) 2011-2025 Simon Hengel,+copyright: (c) 2011-2026 Simon Hengel, (c) 2011-2012 Trystan Spangler, (c) 2011 Greg Weber maintainer: Simon Hengel <sol@typeful.net>@@ -46,18 +46,17 @@ build-depends: QuickCheck >=2.12 , base ==4.*- , hspec-core ==2.11.16- , hspec-discover ==2.11.16+ , hspec-core ==2.11.17+ , hspec-discover ==2.11.17 , hspec-expectations ==0.8.4.* exposed-modules: Test.Hspec Test.Hspec.Discover+ Test.Hspec.Formatters Test.Hspec.QuickCheck Test.Hspec.Runner other-modules: Paths_hspec default-language: Haskell2010 if impl(ghc)- exposed-modules:- Test.Hspec.Formatters- cpp-options: -DENABLE_SPEC_HOOKS -DENABLE_SPEC_HOOK_ARGS -DENABLE_LEGACY_V1_FORMATTERS+ cpp-options: -DENABLE_SPEC_HOOK_ARGS
src/Test/Hspec.hs view
@@ -1,4 +1,3 @@-{-# LANGUAGE CPP #-} -- | -- Stability: stable --@@ -51,7 +50,6 @@ , fdescribe , fcontext -#ifdef ENABLE_SPEC_HOOKS -- * Hooks , ActionWith , before@@ -72,16 +70,13 @@ , aroundAllWith , mapSubject , ignoreSubject-#endif -- * Running a spec , hspec ) where import Test.Hspec.Core.Spec-#ifdef ENABLE_SPEC_HOOKS import Test.Hspec.Core.Hooks-#endif import Test.Hspec.Runner import Test.Hspec.Expectations
src/Test/Hspec/Discover.hs view
@@ -1,16 +1,13 @@ {-# OPTIONS_GHC -fno-warn-deprecations #-} {-# OPTIONS_HADDOCK hide #-}-{-# LANGUAGE CPP #-} {-# LANGUAGE FlexibleInstances #-} module Test.Hspec.Discover {-# WARNING "This module is used by @hspec-discover@. It is not part of the public API and may change at any time." #-} ( Spec , hspec-#ifdef ENABLE_LEGACY_V1_FORMATTERS , IsFormatter (..) , hspecWithFormatter-#endif , postProcessSpec , describe , module Prelude@@ -18,7 +15,6 @@ import Test.Hspec.Core.Spec import Test.Hspec.Core.Runner-#ifdef ENABLE_LEGACY_V1_FORMATTERS import Test.Hspec.Core.Formatters.V1 class IsFormatter a where@@ -34,7 +30,6 @@ hspecWithFormatter formatter spec = do f <- toFormatter formatter hspecWith defaultConfig {configFormatter = Just f} spec-#endif postProcessSpec :: FilePath -> Spec -> Spec postProcessSpec _ = id
version.yaml view
@@ -1,4 +1,4 @@-version: &version 2.11.16+version: &version 2.11.17 synopsis: A Testing Framework for Haskell author: Simon Hengel <sol@typeful.net> maintainer: Simon Hengel <sol@typeful.net>