Skip to content

v2.2.0

Latest
Compare
Choose a tag to compare
@kazk kazk released this 26 Apr 07:51
· 7 commits to codewars since this release
bb71387
  • Update snowhouse for new overloads to show additional custom message on failure.

A custom message can be supplied using a callable returning a string. For convenience, ExtraMessage(message) is provided.

Example:

Assert::That(
  shortestDistance(1, 2, 3), 
  EqualsWithDelta(4.242640687, 1e-9), 
  ExtraMessage("Invalid result for input: x=1, y=2, z=3")
);