quickcheck-text 0.1.2.0 → 0.1.2.1
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- quickcheck-text.cabal +1/−1
- src/Test/QuickCheck/Utf8.hs +1/−1
quickcheck-text.cabal view
@@ -1,5 +1,5 @@ name: quickcheck-text-version: 0.1.2.0+version: 0.1.2.1 synopsis: Alternative arbitrary instance for Text description: The usual Arbitrary instance for Text (in
src/Test/QuickCheck/Utf8.hs view
@@ -89,7 +89,7 @@ -- the intent is the same: the Arbitrary instance for 'Char' in quickcheck -- makes no attempt to generate valid non-ASCII characters at this time. genChar :: Gen Char-genChar = (T.head . decodeUtf8) <$> genUtf8Character+genChar = fmap (T.head . decodeUtf8) genUtf8Character -- | A valid UTF-8 character, one to three bytes long. genUtf8Character :: Gen ByteString