Class: AssertDirsEqual::Diff
- Inherits:
-
Object
- Object
- AssertDirsEqual::Diff
- Extended by:
- Minitest::Assertions
- Defined in:
- lib/assert_dirs_equal/matcher.rb,
lib/minitest/assert_dirs_equal.rb
Overview
Class Method Summary collapse
-
.perform(expected, actual) ⇒ String
abstract
Human readable diff between ‘expected` and `actual`.
Class Method Details
.perform(expected, actual) ⇒ String
This method is abstract.
Reuse existing test framework diff functionality to override this method.
Returns human readable diff between ‘expected` and `actual`.
8 9 10 |
# File 'lib/assert_dirs_equal/matcher.rb', line 8 def self.perform(expected, actual) "Expected: #{expected.inspect}\n Actual: #{actual.inspect}" end |