packages feed

test-sandbox-hunit 0.1.1 → 0.1.2

raw patch · 3 files changed

+11/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,3 +1,7 @@+## 0.1.2++* Support for HUnit-1.3+ ## 0.1.1  * Fix error for ghc710
src/Test/Sandbox/HUnit.hs view
@@ -1,6 +1,7 @@ -- author: Benjamin Surma <benjamin.surma@gmail.com>  {-# LANGUAGE ScopedTypeVariables #-}+{-# LANGUAGE CPP #-}  module Test.Sandbox.HUnit (     assertFailure@@ -49,4 +50,8 @@   assertBool s =<< (a >> return False) `catchError` const (return True)  wrap :: Sandbox () -> Sandbox ()+#if MIN_VERSION_HUnit(1,3,0)+wrap action = action `catch` (\ (HUnitFailure _ e :: HUnitFailure) -> throwError e)+#else wrap action = action `catch` (\ (HUnitFailure e :: HUnitFailure) -> throwError e)+#endif
test-sandbox-hunit.cabal view
@@ -1,5 +1,5 @@ Name:           test-sandbox-hunit-Version:        0.1.1+Version:        0.1.2 Cabal-Version:  >= 1.14 Category:       Testing Synopsis:       HUnit convenience functions for use with test-sandbox@@ -21,7 +21,7 @@ Source-Repository this     Type:       git     Location:   https://github.com/gree/haskell-test-sandbox-    Tag:        test-sandbox-hunit_0.1.1+    Tag:        test-sandbox-hunit_0.1.2  Library     Exposed-modules:    Test.Sandbox.HUnit