From dc00fc0ae5b0ed51488397c9dc3f05181771986a Mon Sep 17 00:00:00 2001 From: Mike Linksvayer Date: Sun, 19 Nov 2017 12:33:01 -0800 Subject: [PATCH] rubocop --- spec/license_wrap_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/license_wrap_spec.rb b/spec/license_wrap_spec.rb index 7e49632..334c792 100644 --- a/spec/license_wrap_spec.rb +++ b/spec/license_wrap_spec.rb @@ -9,7 +9,7 @@ describe 'word wrapping' do file_content = File.read(file, encoding: 'utf-8') license_text = file_content.match(/\A(?:---\n.*\n---\n+)?(.*)/m)[1] max_line_length = 0 - max_line = "" + max_line = '' license_text.lines.each do |line| line.chomp! if line.length > max_line_length