digestive-functors-aeson 1.1.11 → 1.1.12
raw patch · 2 files changed
+4/−4 lines, 2 filesdep ~lensPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: lens
API changes (from Hackage documentation)
Files
- digestive-functors-aeson.cabal +2/−2
- test/Tests.hs +2/−2
digestive-functors-aeson.cabal view
@@ -1,6 +1,6 @@ name: digestive-functors-aeson category: Web, JSON-version: 1.1.11+version: 1.1.12 license: GPL-3 license-file: LICENSE author: Oliver Charles@@ -30,7 +30,7 @@ base >= 4.5 && < 4.8, containers >= 0.5, digestive-functors >= 0.7 && < 0.8,- lens >= 4.4 && < 4.5,+ lens >= 4.4 && < 4.7, lens-aeson >= 1 && < 1.1, safe >= 0.3.3, text >= 0.11,
test/Tests.hs view
@@ -93,7 +93,7 @@ , testCase "jsonErrors shows correct errors" $ jsonErrors v @?= errors ] where- (Just json) = decode "{\"pokemon\":[{\"name\":\"\"}]}"+ (Just json) = decode "{\"pokemon\":[{\"name\":\"\", \"number\": 10}]}" (Just errors) = decode "{\"pokemon\":[{\"name\":\"Name cannot be empty\"}]}" testPokedexFailLater =@@ -103,7 +103,7 @@ , testCase "jsonErrors shows correct errors" $ jsonErrors v @?= errors ] where- (Just json) = decode "{\"pokemon\":[{\"name\": \"Pikachu\"}, {\"name\":\"\"}]}"+ (Just json) = decode "{\"pokemon\":[{\"name\": \"Pikachu\", \"number\": 10}, {\"name\":\"\"}]}" (Just errors) = decode "{\"pokemon\":[null, {\"name\":\"Name cannot be empty\"}]}"