mirror of
https://github.com/github/semantic.git
synced 2024-11-28 01:47:01 +03:00
Fail -> Failure, plus Reason.
This commit is contained in:
parent
b893085385
commit
80c1647d02
@ -42,7 +42,7 @@ instance Example Property where
|
||||
evaluateExample (Property prop) (Params _ bound) _ _ = do
|
||||
result <- iocounterExample bound prop
|
||||
case result of
|
||||
Just messages -> pure $ Fail Nothing (concat messages)
|
||||
Just messages -> pure $ Failure Nothing (Reason (concat messages))
|
||||
Nothing -> pure Success
|
||||
|
||||
class IOTestable t where
|
||||
|
Loading…
Reference in New Issue
Block a user