splitwise / super_diff

A more helpful way to view differences between complex data structures in RSpec.
https://splitwise.github.io/super_diff/
MIT License
986 stars 53 forks source link

Use correct terminology for RSpec matchers #220

Closed mcmire closed 8 months ago

mcmire commented 8 months ago

There are four kinds of matchers which are referred to within the RSpec source code:

So far in the SuperDiff code we have been using the phrase "fuzzy object" to describe an aliased matcher. That was derived from rspec-support's FuzzyMatcher class, which compares two objects with the consideration that either could be an RSpec matcher object. But that's not an official term, and so it could be confusing if we use that.

This commit corrects this term to simply "RSpec matcher object", except in the case where it was being used to test whether a value was an aliased matcher, in which case that term is now used.