hspec-core 2.5.6 → 2.5.7
raw patch · 2 files changed
+4/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
hspec-core.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: d15ffeb43ef1d93930099b550ae67aff43faf175f1b1c6479204335df8ab4304+-- hash: aad8baed239fa77de8e6985c3f9589ef910687c7b0e9a6eed0dcf32ca3faf146 name: hspec-core-version: 2.5.6+version: 2.5.7 license: MIT license-file: LICENSE copyright: (c) 2011-2018 Simon Hengel,
test/Test/Hspec/Core/Example/LocationSpec.hs view
@@ -20,6 +20,7 @@ return (n :: Int) extractLocation e `shouldBe` location +#if !MIN_VERSION_base(4,12,0) context "in Either" $ do it "extracts Location" $ do let location = Just $ Location __FILE__ (__LINE__ + 4) 15@@ -30,6 +31,7 @@ return () Left e <- try (evaluate foo) extractLocation e `shouldBe` location+#endif context "with ErrorCall" $ do it "extracts Location" $ do