Skip to content

Commit

Permalink
Fix test assumption
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyzab committed Feb 8, 2021
1 parent 81aba92 commit 8020bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Network/PushNotify/APNSpec.hs
Expand Up @@ -59,7 +59,7 @@ spec = do
eitherDecode "\"BadcollapseId\"" `shouldBe` Right (ApnFatalErrorOther "BadcollapseId")

it "errors on invalid JSON" $
eitherDecode "\"crap" `shouldBe` (Left "Error in $: not enough input" :: Either String ApnFatalError)
eitherDecode "\"crap" `shouldBe` (Left "Error in $: Failed reading: string without end" :: Either String ApnFatalError)

describe "ApnTemporaryError" $
context "JSON decoder" $
Expand Down

0 comments on commit 8020bc5

Please sign in to comment.