packages feed

test-framework-hunit 0.3.0.1 → 0.3.0.2

raw patch · 2 files changed

+12/−4 lines, 2 filesdep ~HUnitnew-uploader

Dependency ranges changed: HUnit

Files

Test/Framework/Providers/HUnit.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE DeriveDataTypeable #-} -- | Allows HUnit test cases to be used with the test-framework package. --@@ -74,6 +75,12 @@ myPerformTestCase assertion = do     result <- performTestCase assertion     return $ case result of+#if MIN_VERSION_HUnit(1,3,0)+        Success               -> TestCasePassed+        Failure _loc message  -> TestCaseFailed message+        Error   _loc message  -> TestCaseError message+#else         Nothing               -> TestCasePassed         Just (True, message)  -> TestCaseFailed message         Just (False, message) -> TestCaseError message+#endif
test-framework-hunit.cabal view
@@ -1,5 +1,5 @@ Name:                test-framework-hunit-Version:             0.3.0.1+Version:             0.3.0.2 Cabal-Version:       >= 1.6 Category:            Testing Synopsis:            HUnit support for the test-framework package.@@ -8,7 +8,7 @@ Author:              Max Bolingbroke <batterseapower@hotmail.com> Maintainer:          Haskell Libraries <libraries@haskell.org> Homepage:            https://batterseapower.github.io/test-framework/-Bug-Reports:         https://github.com/haskell/test-framework/+Bug-Reports:         https://github.com/haskell/test-framework/issues Build-Type:          Simple Description:         HUnit support for the test-framework package. @@ -24,7 +24,7 @@ Library         Exposed-Modules:        Test.Framework.Providers.HUnit -        Build-Depends:          test-framework >= 0.2.0, HUnit >= 1.2 && < 2, extensible-exceptions >= 0.1.1 && < 0.2.0+        Build-Depends:          test-framework >= 0.2.0, HUnit >= 1.2 && < 1.4, extensible-exceptions >= 0.1.1 && < 0.2.0         if flag(base3)                 Build-Depends:          base >= 3 && < 4         else@@ -38,4 +38,5 @@  Source-Repository head   Type:     git-  Location: https://github.com/haskell/test-framework+  Location: https://github.com/haskell/test-framework.git+  subdir:   hunit