Method: Lookout::Equalities::StandardError#diff
- Defined in:
- lib/lookout/equalities/standarderror.rb
#diff(expected, actual) ⇒ Object
13 14 15 16 17 |
# File 'lib/lookout/equalities/standarderror.rb', line 13 def diff(expected, actual) return super unless String === expected. and StandardError === actual and (actual.respond_to? :message rescue false) Lookout::Equality.diff(expected., actual.) end |