Given this expectation:
text.should =~ /this expression/
When I run rspec
Then the output should diff the text against the regexp source.
Isn't this done?
I don't think the diff is displayed. David, if you tell me where to look I'll patch.
It's here: http://github.com/rspec/rspec-expectations/blob/master/lib/rspec/expectations/fail_with.rb#L13
Diff when comparing a multiline string to a regexp