Skip to content

Commit

Permalink
Improve error message on failed assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
abailly-iohk committed Jun 22, 2022
1 parent b305048 commit 139da3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hydra-node/test/Hydra/ModelSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ prop_checkModel (AnyActions actions) =
counterexample $
toString $
unlines
[ "Actual committed: " <> show actualCommitted
, "Expected committed: " <> show commits
[ "Actual committed: (" <> show p <> ") " <> show actualCommitted
, "Expected committed: (" <> show p <> ") " <> show commits
]
assert (actualCommitted == commits)
_ -> do
Expand Down

0 comments on commit 139da3a

Please sign in to comment.