hspec-contrib 0.5.1 → 0.5.1.1
raw patch · 3 files changed
+40/−38 lines, 3 filesdep ~hspec-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: hspec-core
API changes (from Hackage documentation)
Files
- LICENSE +2/−3
- hspec-contrib.cabal +37/−34
- test/Test/Hspec/Contrib/HUnitSpec.hs +1/−1
LICENSE view
@@ -1,6 +1,5 @@-Copyright (c) 2011-2018 Simon Hengel <sol@typeful.net>-Copyright (c) 2011-2012 Trystan Spangler <trystan.s@comcast.net>-Copyright (c) 2011-2011 Greg Weber <greg@gregweber.info>+Copyright (c) 2014-2022 Simon Hengel <sol@typeful.net>+Copyright (c) 2014-2014 Junji Hashimoto <junji.hashimoto@gree.net> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal
hspec-contrib.cabal view
@@ -1,59 +1,62 @@-name: hspec-contrib-version: 0.5.1-license: MIT-license-file: LICENSE-copyright: (c) 2011-2018 Simon Hengel,- (c) 2014 Junji Hashimoto+cabal-version: 1.12 -maintainer: Simon Hengel <sol@typeful.net>-build-type: Simple-cabal-version: >= 1.10-category: Testing-stability: experimental-bug-reports: https://github.com/hspec/hspec/issues-homepage: http://hspec.github.io/-synopsis: Contributed functionality for Hspec-description: Contributed functionality for Hspec+-- This file has been generated from package.yaml by hpack version 0.35.0.+--+-- see: https://github.com/sol/hpack +name: hspec-contrib+version: 0.5.1.1+license: MIT+license-file: LICENSE+copyright: (c) 2011-2022 Simon Hengel,+ (c) 2014 Junji Hashimoto+maintainer: Simon Hengel <sol@typeful.net>+build-type: Simple+category: Testing+stability: experimental+bug-reports: https://github.com/hspec/hspec/issues+homepage: http://hspec.github.io/+synopsis: Contributed functionality for Hspec+description: Contributed functionality for Hspec+ source-repository head type: git location: https://github.com/hspec/hspec subdir: hspec-contrib library- ghc-options:- -Wall+ ghc-options: -Wall hs-source-dirs: src build-depends:- base == 4.*- , hspec-core >= 2.5.0- , HUnit+ HUnit+ , base ==4.*+ , hspec-core >=2.5.0 exposed-modules:- Test.Hspec.Contrib.Retry Test.Hspec.Contrib.HUnit+ Test.Hspec.Contrib.Retry other-modules:+ Paths_hspec_contrib default-language: Haskell2010 test-suite spec- type:- exitcode-stdio-1.0+ type: exitcode-stdio-1.0 hs-source-dirs: test- main-is:- Spec.hs+ main-is: Spec.hs other-modules: Helper- Test.Hspec.Contrib.RetrySpec Test.Hspec.Contrib.HUnitSpec- ghc-options:- -Wall+ Test.Hspec.Contrib.RetrySpec+ Paths_hspec_contrib+ ghc-options: -Wall+ build-tool-depends:+ hspec-discover:hspec-discover build-depends:- base == 4.*- , hspec-core- , HUnit-- , hspec-contrib- , hspec+ HUnit , QuickCheck+ , base ==4.*+ , hspec+ , hspec-contrib+ , hspec-core >=2.6.0 default-language: Haskell2010
test/Test/Hspec/Contrib/HUnitSpec.hs view
@@ -8,7 +8,7 @@ import Test.HUnit shouldYield :: Test -> [Tree () String] -> Expectation-a `shouldYield` b = map (bimapTree (const ()) itemRequirement) <$> runSpecM (fromHUnitTest a) `shouldReturn` b+a `shouldYield` b = bimapForest (const ()) itemRequirement . snd <$> runSpecM (fromHUnitTest a) `shouldReturn` b spec :: Spec spec = do