chell-hunit 0.3.0.1 → 0.3.0.2
raw patch · 5 files changed
+58/−44 lines, 5 filesdep ~HUnitdep ~basedep ~chellsetup-changedPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: HUnit, base, chell
API changes (from Hackage documentation)
Files
- Setup.hs +0/−2
- Test/Chell/HUnit.hs +14/−14
- changelog.md +28/−8
- chell-hunit.cabal +13/−20
- readme.md +3/−0
− Setup.hs
@@ -1,2 +0,0 @@-import Distribution.Simple-main = defaultMain
Test/Chell/HUnit.hs view
@@ -1,20 +1,18 @@-module Test.Chell.HUnit- ( hunit- ) where+module Test.Chell.HUnit (hunit) where import qualified Test.Chell as Chell-import Test.HUnit.Lang (Assertion, Result (..), performTestCase)+import Test.HUnit.Lang (Assertion, Result (..), performTestCase) -- | Convert a sequence of HUnit assertions (embedded in IO) to a Chell -- 'Chell.Test'. -- -- @---import Test.Chell---import Test.Chell.HUnit---import Test.HUnit+-- import Test.Chell+-- import Test.Chell.HUnit+-- import Test.HUnit -----test_Addition :: Test---test_addition = hunit \"addition\" $ do+-- test_Addition :: Test+-- test_addition = hunit \"addition\" $ do -- 1 + 2 \@?= 3 -- 2 + 3 \@?= 5 -- @@@ -25,8 +23,10 @@ do result <- performTestCase io return $- case result of- Success -> Chell.TestPassed []- Failure _ msg -> Chell.TestFailed []- [Chell.failure { Chell.failureMessage = msg }]- Error _ msg -> Chell.TestAborted [] msg+ case result of+ Success -> Chell.TestPassed []+ Failure _ msg ->+ Chell.TestFailed+ []+ [Chell.failure {Chell.failureMessage = msg}]+ Error _ msg -> Chell.TestAborted [] msg
changelog.md view
@@ -1,13 +1,33 @@-# Release history for `chell-hunit`+## 0.3.0.2 -0.3.0.1 - 2021 Jan 14+Miscellaneous updates and cleanup - * Support up to GHC 9.2- * Tighten various version bounds+Published by: Chris Martin -0.3 - 2019 Feb 16+Date: 2023-07-11 - * Add support for `HUnit` 1.3 through 1.6- * Drop support for `HUnit` 1.1 through 1.2+## 0.3.0.1 -0.2.1 - 2014 May 18+Support up to GHC 9.2++Tighten various version bounds++Published by: Chris Martin++Date: 2021-01-14++## 0.3++Add support for `HUnit` 1.3 through 1.6++Drop support for `HUnit` 1.1 through 1.2++Published by: Chris Martin++Date: 2019-02-16++## 0.2.1++Published by: John Millikin++Date: 2014-05-18
chell-hunit.cabal view
@@ -1,38 +1,31 @@ cabal-version: 3.0 name: chell-hunit-version: 0.3.0.1+version: 0.3.0.2 -synopsis: HUnit support for the Chell testing library+synopsis: HUnit support for Chell category: Testing license: MIT license-file: license.txt author: John Millikin <john@john-millikin.com> maintainer: Chris Martin, Julie Moronuki-build-type: Simple -homepage: https://github.com/typeclasses/chell-bug-reports: https://github.com/typeclasses/chell/issues+homepage: https://github.com/typeclasses/chell description:- HUnit support for the <https://hackage.haskell.org/package/chell Chell> testing library.--extra-source-files:- changelog.md+ HUnit support for the Chell testing library. -source-repository head- type: git- location: https://github.com/typeclasses/chell.git+extra-source-files: *.md library- default-language: Haskell2010- ghc-options: -Wall+ default-language: GHC2021+ ghc-options: -Wall - build-depends:- base >= 4.10 && < 4.17- , chell >= 0.3 && < 0.6- , HUnit >= 1.3 && < 1.7+ build-depends:+ , base ^>= 4.16 || ^>= 4.17 || ^>= 4.18+ , chell ^>= 0.5+ , HUnit ^>= 1.6.2 - exposed-modules:- Test.Chell.HUnit+ exposed-modules:+ Test.Chell.HUnit
+ readme.md view
@@ -0,0 +1,3 @@+HUnit support for the [Chell] testing library.++ [Chell]: https://hackage.haskell.org/package/chell