twitter-types 0.7.2 → 0.7.2.1
raw patch · 2 files changed
+5/−5 lines, 2 filesdep ~timePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: time
API changes (from Hackage documentation)
Files
- tests/TypesTest.hs +4/−4
- twitter-types.cabal +1/−1
tests/TypesTest.hs view
@@ -208,11 +208,11 @@ case_parseErrorMsg :: Assertion case_parseErrorMsg = case parseStatus fixture_error_not_authorized of- Left str -> "Not authorized" @=? str- Right _ -> assertFailure "errorMsgJson should be parsed as an error."+ Aeson.Error str -> "Not authorized" @=? str+ Aeson.Success _ -> assertFailure "errorMsgJson should be parsed as an error." where- parseStatus :: Value -> Either String Status- parseStatus = parseEither parseJSON+ parseStatus :: Value -> Aeson.Result Status+ parseStatus = Aeson.parse parseJSON case_parseMediaEntity :: Assertion case_parseMediaEntity = withJSON fixture_media_entity $ \obj -> do
twitter-types.cabal view
@@ -1,5 +1,5 @@ name: twitter-types-version: 0.7.2+version: 0.7.2.1 license: BSD3 license-file: LICENSE author: Takahiro HIMURA