packages feed

bytestring-tree-builder 0.2.7.5 → 0.2.7.6

raw patch · 3 files changed

+19/−7 lines, 3 filesdep ~QuickCheckdep ~quickcheck-instancesdep ~tastyPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: QuickCheck, quickcheck-instances, tasty, tasty-hunit, tasty-quickcheck

API changes (from Hackage documentation)

Files

bytestring-tree-builder.cabal view
@@ -1,5 +1,5 @@ name: bytestring-tree-builder-version: 0.2.7.5+version: 0.2.7.6 category: ByteString synopsis: A very efficient ByteString builder implementation based on the binary tree description:@@ -69,8 +69,8 @@     base-prelude,     bytestring,     bytestring-tree-builder,-    QuickCheck >=2.8.1 && <3,-    quickcheck-instances >=0.3.11 && <0.4,-    tasty >=0.12 && <2,-    tasty-hunit >=0.9 && <0.11,-    tasty-quickcheck >=0.9 && <0.11+    QuickCheck >=2.14 && <3,+    quickcheck-instances >=0.3.25 && <0.4,+    tasty >=1.4 && <2,+    tasty-hunit >=0.10 && <0.11,+    tasty-quickcheck >=0.10 && <0.11
library/ByteString/TreeBuilder/Poker.hs view
@@ -43,4 +43,4 @@   case a of     E.Branch c d -> pokeTreeOnBranch c (E.Branch d b) ptr     E.Leaf bytes -> pokeBytes bytes ptr >>= pokeTree b-    E.Empty -> pure ptr+    E.Empty -> pokeTree b ptr
tasty/Main.hs view
@@ -24,4 +24,16 @@     \bytestrings ->       mconcat bytestrings ===       Data.ByteString.Lazy.toStrict (toLazyByteString (foldMap byteString bytestrings))+    ,+    testCase "Regression (Issue #5)" $+    let+      fn name =+        toByteString $+          "FETCH FORWARD "+            <> asciiIntegral 10+            <> " FROM "+            <> byteString name+      in assertEqual ""+        "FETCH FORWARD 10 FROM abc"+        (fn "abc")   ]