QuickCheck 2.11.1 → 2.11.2
raw patch · 2 files changed
+6/−6 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- QuickCheck.cabal +2/−2
- Test/QuickCheck/Test.hs +4/−4
QuickCheck.cabal view
@@ -1,5 +1,5 @@ Name: QuickCheck-Version: 2.11.1+Version: 2.11.2 Cabal-Version: >= 1.8 Build-type: Simple License: BSD3@@ -49,7 +49,7 @@ source-repository this type: git location: https://github.com/nick8325/quickcheck- tag: 2.11.1+ tag: 2.11.2 flag templateHaskell Description: Build Test.QuickCheck.All, which uses Template Haskell.
Test/QuickCheck/Test.hs view
@@ -339,12 +339,12 @@ summary = header ++ short 26 (oneLine reason ++ " ") ++- count ++ "..."+ count True ++ "..." full = (header ++ (if isOneLine reason then reason ++ " " else "") ++- count ++ ":"):+ count False ++ ":"): if isOneLine reason then [] else lines reason reason = P.reason res@@ -354,12 +354,12 @@ bold "*** Failed! " else "+++ OK, failed as expected. " - count =+ count full = "(after " ++ number (numSuccessTests st+1) "test" ++ concat [ " and " ++ show (numSuccessShrinks st) ++- concat [ "." ++ show (numTryShrinks st) | numTryShrinks st > 0 ] +++ concat [ "." ++ show (numTryShrinks st) | full, numTryShrinks st > 0 ] ++ " shrink" ++ (if numSuccessShrinks st == 1 && numTryShrinks st == 0 then "" else "s") | numSuccessShrinks st > 0 || numTryShrinks st > 0 ] ++