360477dac0
This is part of a collection of commits that aim to improve failure messages across the board, in order to make matchers easier to debug when something goes wrong. * Have the failure message describe what the matcher was trying to do when it failed. * Make the description of the matcher more readable. * Refactor the matcher so that it no longer unnecessarily creates records, but re-uses the existing record if it can instead. This makes the logic that the matcher performs slightly easier to follow. * Fix or fill in tests involving failure messages and descriptions to match these changes and recent changes to ValidationMatcher. |
||
---|---|---|
.. | ||
matchers | ||
matchers.rb |