spec/spec_helper.rb in licensee-9.12.0 vs spec/spec_helper.rb in licensee-9.13.0

- old
+ new

@@ -129,20 +129,20 @@ failure_message do |actual| license_file = Licensee::ProjectFiles::LicenseFile.new(actual, 'LICENSE') license_name = expected.meta['spdx-id'] || expected.key similarity = expected.similarity(license_file) content = @license_file.content - msg = "Expected '#{content}' to match the #{license_name} license" + msg = +"Expected '#{content}' to match the #{license_name} license" msg << " (#{format_percent(similarity)} similarity" msg << "using the #{license_file.matcher} matcher)" end failure_message_when_negated do |actual| license_file = Licensee::ProjectFiles::LicenseFile.new(actual, 'LICENSE') license_name = expected.meta['spdx-id'] || expected.key similarity = expected.similarity(license_file) - msg = "Expected the content to *not* match the #{license_name} license" + msg = +"Expected the content to *not* match the #{license_name} license" msg << " (#{format_percent(similarity)} similarity)" end diffable end