Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype ResponseEquality b = ResponseEquality {
- getResponseEquality :: Response b -> Response b -> Bool
- allEquality :: Eq b => ResponseEquality b
- bodyEquality :: Eq b => ResponseEquality b
- jsonEquality :: JsonEq b => ResponseEquality b
- class JsonEq a where
- compareDecodedResponses :: Maybe Value -> Maybe Value -> Bool
Documentation
newtype ResponseEquality b Source #
ResponseEquality | |
|
allEquality :: Eq b => ResponseEquality b Source #
bodyEquality :: Eq b => ResponseEquality b Source #
ByteString Eq
instance over the response body.
Since 0.0.0.0
jsonEquality :: JsonEq b => ResponseEquality b Source #
Equality as Value
. This means that if two bodies are equal as JSON
(e.g., insignificant whitespace difference) they are considered equal.
Since 0.0.3.0