packages feed

pipes-csv 1.3.0 → 1.4.0

raw patch · 2 files changed

+8/−8 lines, 2 filesdep ~cassava

Dependency ranges changed: cassava

Files

pipes-csv.cabal view
@@ -1,5 +1,5 @@ name:                pipes-csv-version:             1.3.0+version:             1.4.0 synopsis:            Fast, streaming csv parser license:             MIT license-file:        LICENSE@@ -26,7 +26,7 @@    build-depends:       base                  >= 4       && < 5-    , cassava               >= 0.3     && < 0.4+    , cassava               >= 0.4     && < 0.5     , pipes                 >= 4       && < 5     , unordered-containers  < 0.3     , blaze-builder         < 0.4@@ -50,8 +50,8 @@     build-depends:         base       , HUnit >= 1.2-      , pipes                 >= 4       && < 5-      , pipes-bytestring     >= 2       && < 3+      , pipes                >= 4 && < 5+      , pipes-bytestring     >= 2 && < 3       , pipes-csv       , cassava       , vector
test/test-pipes-csv.hs view
@@ -123,7 +123,7 @@     , "\n"     , "Sue,22abc\n" -- consumes 22 and discards "abc"     -- , "zz\n" -- throws an exception-    , "no space allowed, 99\n"+    , "space allowed, 99\n"     , "eof,99"     ] @@ -133,8 +133,8 @@     , Right (Person "Jimbo" 21)     , Right (Person "Bill" 1)     , Right (Person "Billy" 2)-    , Right (Person "Sue" 22)-    , Left "expected Int, got \" 99\" (Failed reading: takeWhile1)"+    , Left "expected Int, got \"22abc\" (incomplete field parse, leftover: [97,98,99])"+    , Right (Person "space allowed" 99)     , Right (Person "eof" 99)     ] @@ -166,7 +166,7 @@ ioDecoderPerson' = runEffect $     for (decoderPerson' (each $ map C.pack decoderPersonStream)) (lift . print) -decoderPerson'Result = [21,55,21,1,2,22,99]+decoderPerson'Result = [21,55,21,1,2,99,99]  testDecoderPerson' :: Assertion testDecoderPerson' =