packages feed

hspec-core 2.2.1 → 2.2.2

raw patch · 4 files changed

+8/−4 lines, 4 filesdep ~base

Dependency ranges changed: base

Files

hspec-core.cabal view
@@ -1,9 +1,9 @@--- This file has been generated from package.yaml by hpack version 0.5.4.+-- This file has been generated from package.yaml by hpack version 0.8.0. -- -- see: https://github.com/sol/hpack  name:             hspec-core-version:          2.2.1+version:          2.2.2 license:          MIT license-file:     LICENSE copyright:        (c) 2011-2015 Simon Hengel,
src/Test/Hspec/Core/Tree.hs view
@@ -17,7 +17,9 @@ ) where  #ifdef HAS_SOURCE_LOCATIONS+#if !MIN_VERSION_base(4,9,0) import           GHC.SrcLoc+#endif import           GHC.Stack #endif 
test/Test/Hspec/Core/SpecSpec.hs view
@@ -11,7 +11,9 @@ import           Helper  #ifdef HAS_SOURCE_LOCATIONS+#if !MIN_VERSION_base(4,9,0) import           GHC.SrcLoc+#endif import           GHC.Stack #endif 
test/Test/Hspec/Core/UtilSpec.hs view
@@ -51,8 +51,8 @@       show e `shouldBe` "foobar"      it "evaluates result to weak head normal form" $ do-      Left e <- safeTry (return undefined)-      show e `shouldBe` "Prelude.undefined"+      Left e <- safeTry (return $ E.throw $ E.ErrorCall "foo")+      show e `shouldBe` "foo"      it "does not catch asynchronous exceptions" $ do       mvar <- newEmptyMVar