test/functions.rb in licensee-3.0.0 vs test/functions.rb in licensee-4.0.0

- old
+ new

@@ -55,10 +55,10 @@ blob = FakeBlob.new(text) license_file = Licensee::LicenseFile.new(blob) actual = license_file.match assert actual, "No match for #{expected}." - assert_equal expected, actual.name, "expeceted #{expected} but got #{actual.name} for .match. Confidence: #{license_file.confidence}. Method: #{license_file.matcher.class}" + assert_equal expected, actual.key, "expeceted #{expected} but got #{actual.key} for .match. Confidence: #{license_file.confidence}. Method: #{license_file.matcher.class}" end def wrap(text, line_width=80) text = text.clone text.gsub! /([^\n])\n([^\n])/, '\1 \2'