hw-hspec-hedgehog 0.1.0.2 → 0.1.0.3
raw patch · 2 files changed
+14/−11 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
hw-hspec-hedgehog.cabal view
@@ -2,15 +2,15 @@ -- -- see: https://github.com/sol/hpack ----- hash: 4bbc576e065fcc81b9d5927d67417963fdf1ea5ac97374bdc6704162a77749a7+-- hash: 093b3be17eb7ddd5a09d32ea86a69b40f0f32cb45b9f2ea50fd51e0bb8a0b445 name: hw-hspec-hedgehog-version: 0.1.0.2+version: 0.1.0.3 synopsis: Interoperability between hspec and hedgehog description: Some functions to use hedgehog from hspec category: Web-homepage: https://github.com/githubuser/hw-hspec-hedgehog#readme-bug-reports: https://github.com/githubuser/hw-hspec-hedgehog/issues+homepage: https://github.com/haskell-works/hw-hspec-hedgehog#readme+bug-reports: https://github.com/haskell-works/hw-hspec-hedgehog/issues author: John Ky maintainer: newhoggy@gmail.com copyright: 2017 John Ky@@ -24,7 +24,7 @@ source-repository head type: git- location: https://github.com/githubuser/hw-hspec-hedgehog+ location: https://github.com/haskell-works/hw-hspec-hedgehog library hs-source-dirs:
src/HaskellWorks/Hspec/Hedgehog.hs view
@@ -6,13 +6,13 @@ , requireProperty ) where -import Hedgehog+import Control.Monad (unless)+import Control.Monad.IO.Class+import Data.CallStack+import Hedgehog+import Test.HUnit.Lang -import qualified Control.Exception as E-import Control.Monad (unless)-import Control.Monad.IO.Class-import Data.CallStack-import Test.HUnit.Lang+import qualified Control.Exception as E location :: HasCallStack => Maybe SrcLoc location = case reverse callStack of@@ -27,3 +27,6 @@ requireProperty :: PropertyT IO () -> Assertion requireProperty = require . property++requireTest :: PropertyT IO () -> Assertion+requireTest = require . withTests 1 . property