hspec-expectations 0.3.0.2 → 0.3.0.3
raw patch · 2 files changed
+4/−3 lines, 2 filesdep +markdown-unlitPVP ok
version bump matches the API change (PVP)
Dependencies added: markdown-unlit
API changes (from Hackage documentation)
Files
hspec-expectations.cabal view
@@ -1,5 +1,5 @@ name: hspec-expectations-version: 0.3.0.2+version: 0.3.0.3 synopsis: Catchy combinators for HUnit description: Catchy combinators for HUnit: <https://github.com/sol/hspec-expectations#readme> license: MIT@@ -48,9 +48,10 @@ type: exitcode-stdio-1.0 ghc-options:- -Wall -Werror -pgmL pandoc-unlit+ -Wall -Werror -pgmL markdown-unlit -optL haskell+literate main-is: README.lhs build-depends: base , hspec >= 1.3+ , markdown-unlit
src/Test/Hspec/Expectations.hs view
@@ -84,7 +84,7 @@ exceptionType = (show . typeOf . instanceOf) p where instanceOf :: Selector a -> a- instanceOf _ = error "Test.HUnit.ShouldBe.shouldThrow: brocken Typeable instance"+ instanceOf _ = error "Test.Hspec.Expectations.shouldThrow: brocken Typeable instance" anyException :: Selector SomeException anyException = const True