packages feed

quickcheck-io 0.1.3 → 0.1.4

raw patch · 2 files changed

+7/−3 lines, 2 filesdep ~HUnit

Dependency ranges changed: HUnit

Files

quickcheck-io.cabal view
@@ -1,9 +1,9 @@--- This file has been generated from package.yaml by hpack version 0.14.1.+-- This file has been generated from package.yaml by hpack version 0.15.0. -- -- see: https://github.com/sol/hpack  name:             quickcheck-io-version:          0.1.3+version:          0.1.4 synopsis:         Use HUnit assertions as QuickCheck properties description:      This package provides an orphan instance that allows you to                   use HUnit assertions as QuickCheck properties.
src/Test/QuickCheck/IO.hs view
@@ -3,7 +3,7 @@ module Test.QuickCheck.IO where  import qualified Control.Exception as E-import           Test.HUnit.Lang (Assertion, HUnitFailure(..))+import           Test.HUnit.Lang import           Test.QuickCheck.Property  instance Testable Assertion where@@ -24,4 +24,8 @@ #else     \(HUnitFailure err) -> #endif+#if MIN_VERSION_HUnit(1,5,0)+      return failed {reason = formatFailureReason err}+#else       return failed {reason = err}+#endif