Skip to content

Instantly share code, notes, and snippets.

@codedmart
Created May 6, 2015 12:41
Show Gist options
  • Select an option

  • Save codedmart/c957c3d9d387a8151570 to your computer and use it in GitHub Desktop.

Select an option

Save codedmart/c957c3d9d387a8151570 to your computer and use it in GitHub Desktop.
client returns errors appropriately
reports FailureResponse FAILED [1]
reports DecodeFailure FAILED [2]
reports ConnectionError FAILED [3]
reports UnsupportedContentType FAILED [4]
reports InvalidContentTypeHeader
Failures:
1) client returns errors appropriately reports FailureResponse
uncaught exception: IOException of type UserError (user error (Pattern match failure in do expression at test/Servant/ClientSpec.hs:291:9-16))
2) client returns errors appropriately reports DecodeFailure
uncaught exception: IOException of type UserError (user error (Pattern match failure in do expression at test/Servant/ClientSpec.hs:297:9-16))
3) client returns errors appropriately reports ConnectionError
uncaught exception: IOException of type UserError (user error (Pattern match failure in do expression at test/Servant/ClientSpec.hs:304:9-16))
4) client returns errors appropriately reports UnsupportedContentType
uncaught exception: IOException of type UserError (user error (Pattern match failure in do expression at test/Servant/ClientSpec.hs:310:9-16))
Randomized with seed 348489618
Finished in 0.0015 seconds
5 examples, 4 failures
Test suite spec: FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment