Sha256: f00af827c3628138bb964792fad73a60fa7a5f297f712d7cc245aa280740aa32
Contents?: true
Size: 575 Bytes
Versions: 2
Compression:
Stored size: 575 Bytes
Contents
require "minitest" require "assert_dirs_equal/matcher" module AssertDirsEqual class Diff extend Minitest::Assertions def self.perform(expected, actual) diff(expected, actual) end end end class Minitest::Test def assert_dirs_equal(expected, target) matcher = AssertDirsEqual::Matcher.new(expected) assert matcher.matches?(target), matcher.failure_message end def refute_dirs_equal(expected, target) matcher = AssertDirsEqual::Matcher.new(expected) refute matcher.matches?(target), matcher.failure_message_when_negated end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
assert_dirs_equal-0.1.1 | lib/minitest/assert_dirs_equal.rb |
assert_dirs_equal-0.1.0 | lib/minitest/assert_dirs_equal.rb |