File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
docs/contributors/architecture Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ or when a matcher whose `#does_not_match?` method returns `true`
3939is passed to ` expect(...).not_to ` —
4040RSpec will call the ` RSpec::Expectations::ExpectationHelper#handle_failure ` method,
4141which will call ` RSpec::Expectations.fail_with ` .
42- This method will use ` RSpec::Matchers::ExpectedsForMultipleDiffs `
42+ This method will use ` RSpec::Matchers::MultiMatcherDiff `
43+ (or in RSpec < 3.13.0, ` RSpec::Matchers::ExpectedsForMultipleDiffs ` )
4344and the differ object that ` RSpec::Expectations.differ ` returns
4445to generate a diff,
4546combining it with the failure message from the matcher,
@@ -89,7 +90,7 @@ Here are all of the places that SuperDiff patches RSpec:
8990 as it interferes with the previous patches)
9091- ` RSpec::Support::ObjectFormatter `
9192 (to use SuperDiff's object inspection logic)
92- - ` RSpec::Matchers::ExpectedsForMultipleDiffs `
93+ - ` RSpec::Matchers::ExpectedsForMultipleDiffs ` and ` RSpec::Matchers::MultiMatcherDiff `
9394 (to add a key above the diff,
9495 add spacing around the diff,
9596 and colorize the word "Diff:")
You can’t perform that action at this time.
0 commit comments