packages feed

hspec-smallcheck 0.4.1 → 0.4.2

raw patch · 2 files changed

+3/−7 lines, 2 filesdep ~hspec-corePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: hspec-core

API changes (from Hackage documentation)

- Test.Hspec.SmallCheck: instance Example (Property IO)
+ Test.Hspec.SmallCheck: instance Test.Hspec.Core.Example.Example (Test.SmallCheck.Property.Property GHC.Types.IO)

Files

hspec-smallcheck.cabal view
@@ -1,5 +1,5 @@ name:             hspec-smallcheck-version:          0.4.1+version:          0.4.2 license:          MIT license-file:     LICENSE copyright:        (c) 2013-2015 Simon Hengel@@ -25,7 +25,7 @@       Test.Hspec.SmallCheck   build-depends:       base == 4.*-    , hspec-core == 2.*+    , hspec-core >= 2.4     , smallcheck >= 1.0  test-suite spec
src/Test/Hspec/SmallCheck.hs view
@@ -21,8 +21,4 @@           modifyIORef counter succ           n <- readIORef counter           reportProgress (n, 0)-#if MIN_VERSION_hspec_core(2,2,0)-    maybe Success (Fail Nothing . ppFailure) <$> smallCheckWithHook (paramsSmallCheckDepth c) hook p-#else-    maybe Success (Fail . ppFailure) <$> smallCheckWithHook (paramsSmallCheckDepth c) hook p-#endif+    maybe Success (Failure Nothing . Reason . ppFailure) <$> smallCheckWithHook (paramsSmallCheckDepth c) hook p