packages feed

quickcheck-io 0.1.1 → 0.1.2

raw patch · 2 files changed

+20/−8 lines, 2 filesdep ~HUnitnew-uploader

Dependency ranges changed: HUnit

Files

quickcheck-io.cabal view
@@ -1,29 +1,35 @@+-- This file has been generated from package.yaml by hpack version 0.5.4.+--+-- see: https://github.com/sol/hpack+ name:             quickcheck-io-version:          0.1.1+version:          0.1.2 synopsis:         Use HUnit assertions as QuickCheck properties description:      This package provides an orphan instance that allows you to                   use HUnit assertions as QuickCheck properties. category:         Testing+homepage:         https://github.com/hspec/quickcheck-io#readme+bug-reports:      https://github.com/hspec/quickcheck-io/issues license:          MIT license-file:     LICENSE copyright:        (c) 2013 Simon Hengel author:           Simon Hengel <sol@typeful.net> maintainer:       Simon Hengel <sol@typeful.net> build-type:       Simple-cabal-version:    >= 1.8+cabal-version:    >= 1.10  source-repository head   type: git-  location: https://github.com/sol/quickcheck-io+  location: https://github.com/hspec/quickcheck-io  library-  ghc-options:-      -Wall   hs-source-dirs:       src-  exposed-modules:-      Test.QuickCheck.IO+  ghc-options: -Wall   build-depends:       QuickCheck  >= 2.5.1     , HUnit       >= 1.2.5     , base        == 4.*+  exposed-modules:+      Test.QuickCheck.IO+  default-language: Haskell2010
src/Test/QuickCheck/IO.hs view
@@ -16,4 +16,10 @@ #else propertyIO action = morallyDubiousIOProperty $ do #endif-  (action >> return succeeded) `E.catch` \(HUnitFailure err) -> return failed {reason = err}+  (action >> return succeeded) `E.catch`+#if MIN_VERSION_HUnit(1,3,0)+    \(HUnitFailure _ err) ->+#else+    \(HUnitFailure err) ->+#endif+      return failed {reason = err}