Skip to content

Commit

Permalink
Use assertWith in prop_readPoolLifeCycleStatus.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanknowles committed Aug 13, 2020
1 parent 5c351d7 commit e7d26ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/core/test/unit/Cardano/Pool/DB/Properties.hs
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,8 @@ prop_readPoolLifeCycleStatus
, "\nAll certificate publications: "
, unlines (("\n" <>) . show <$> certificatePublications)
]
assert (actualStatus == expectedStatus)
assertWith "actualStatus == expectedStatus"
(actualStatus == expectedStatus)

certificatePublications :: [(CertificatePublicationTime, PoolCertificate)]
certificatePublications = publicationTimes `zip` certificates
Expand Down

0 comments on commit e7d26ff

Please sign in to comment.