Two failed responses can be equal even though they don't come from
the same request.
This commit is contained in:
parent
b8de9c8527
commit
bf9c84eccb
1 changed files with 2 additions and 2 deletions
|
@ -72,8 +72,8 @@ data ServantError
|
|||
deriving (Show, Typeable)
|
||||
|
||||
instance Eq ServantError where
|
||||
FailureResponse a b c d == FailureResponse w x y z =
|
||||
(show a, b, c, d) == (show w, x, y, z)
|
||||
FailureResponse _ a b c == FailureResponse _ x y z =
|
||||
(a, b, c) == (x, y, z)
|
||||
DecodeFailure a b c == DecodeFailure x y z =
|
||||
(a, b, c) == (x, y, z)
|
||||
UnsupportedContentType a b == UnsupportedContentType x y =
|
||||
|
|
Loading…
Reference in a new issue