doclayout 0.5.0.2 → 0.5.0.3
raw patch · 3 files changed
+8/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- changelog.md +5/−0
- doclayout.cabal +1/−1
- test/test.hs +2/−2
changelog.md view
@@ -1,5 +1,10 @@ # doclayout +## 0.5.0.3++ * Tests: Go back to using withMaxSuccess for compatibility with older+ QuickCheck versions.+ ## 0.5.0.2 * Performance optimizations:
doclayout.cabal view
@@ -1,5 +1,5 @@ name: doclayout-version: 0.5.0.2+version: 0.5.0.3 synopsis: A prettyprinting library for laying out text documents. description: doclayout is a prettyprinting library for laying out text documents, with several features not present
test/test.hs view
@@ -331,10 +331,10 @@ , testGroup "all zero-width joiner emoji sequences have width 2" $ zwjEmojis <&> \emoji -> testCase (T.unpack emoji) $ realLength emoji @?= 2 - , testProperty "shortcut provides same answer for string length in a narrow context" . withNumTests 10000 $+ , testProperty "shortcut provides same answer for string length in a narrow context" . withMaxSuccess 10000 $ \(x :: String) -> realLengthNarrowContext x === realLengthNarrowContextNoShortcut x - , testProperty "shortcut provides same answer for string length in a wide context" . withNumTests 10000 $+ , testProperty "shortcut provides same answer for string length in a wide context" . withMaxSuccess 10000 $ \(x :: String) -> realLengthWideContext x === realLengthWideContextNoShortcut x ]