beberlei / assert

Thin assertion library for use in libraries and business-model
Other
2.41k stars 188 forks source link

When a Count assert fails, it does not explain exactly the issue #247

Closed yoannblot closed 6 years ago

yoannblot commented 6 years ago

When calling a Assert::count() method, we don't know why it's not equals.

Proposal is to add the calculated count in the message text :

List does not contain exactly "6" elements (1 given).

rquadling commented 6 years ago

2.9.3 - 2018-03-16

Changes