packages feed

tasty-quickcheck 0.10.1 → 0.10.1.1

raw patch · 3 files changed

+13/−4 lines, 3 filesPVP: minor bump suggested

API additions: PVP suggests at least a minor version bump

API changes (from Hackage documentation)

+ Test.Tasty.QuickCheck: functionVoid :: () => (forall b. () => void -> b) -> void :-> c

Files

CHANGELOG.md view
@@ -1,6 +1,12 @@ Changes ======= +Version 0.10.1.1+----------------++* Accept underscores in `--quickcheck-tests` for readability,+    e.g. `--quickcheck-tests 10_000_000`.+ Version 0.10.1 -------------- 
Test/Tasty/QuickCheck.hs view
@@ -101,9 +101,12 @@  instance IsOption QuickCheckTests where   defaultValue = 100-  parseValue = fmap QuickCheckTests . safeRead+  parseValue =+    -- We allow numeric underscores for readability; see+    -- https://github.com/feuerbach/tasty/issues/263+    fmap QuickCheckTests . safeRead . filter (/= '_')   optionName = return "quickcheck-tests"-  optionHelp = return "Number of test cases for QuickCheck to generate"+  optionHelp = return "Number of test cases for QuickCheck to generate. Underscores accepted: e.g. 10_000_000"   optionCLParser = mkOptionCLParser $ metavar "NUMBER"  instance IsOption QuickCheckReplay where
tasty-quickcheck.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                tasty-quickcheck-version:             0.10.1+version:             0.10.1.1 synopsis:            QuickCheck support for the Tasty test framework. description:         QuickCheck support for the Tasty test framework. license:             MIT@@ -26,7 +26,7 @@   exposed-modules:     Test.Tasty.QuickCheck   -- other-modules:   other-extensions:    GeneralizedNewtypeDeriving, DeriveDataTypeable-  build-depends:       base == 4.*, tagged, tasty >= 1.0.1, random, QuickCheck >= 2.7,+  build-depends:       base == 4.*, tagged, tasty >= 1.0.1, random, QuickCheck >= 2.10,                        optparse-applicative    -- hs-source-dirs: