From a77ca278809d7f31fa51e4b821faed86324c8275 Mon Sep 17 00:00:00 2001 From: "Samuel E. Giddins" Date: Wed, 15 Jul 2015 20:52:48 -0700 Subject: [RuboCop] Enable Style/StringLiterals --- spec/quality_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'spec/quality_spec.rb') diff --git a/spec/quality_spec.rb b/spec/quality_spec.rb index d1368445..05715a68 100644 --- a/spec/quality_spec.rb +++ b/spec/quality_spec.rb @@ -14,7 +14,7 @@ describe "The library itself" do end unless failing_lines.empty? - "#{filename} uses inconsistent single quotes on lines #{failing_lines.join(', ')}" + "#{filename} uses inconsistent single quotes on lines #{failing_lines.join(", ")}" end end @@ -25,7 +25,7 @@ describe "The library itself" do end unless failing_lines.empty? - "#{filename} has tab characters on lines #{failing_lines.join(', ')}" + "#{filename} has tab characters on lines #{failing_lines.join(", ")}" end end @@ -38,7 +38,7 @@ describe "The library itself" do end unless failing_lines.empty? - "#{filename} has spaces on the EOL on lines #{failing_lines.join(', ')}" + "#{filename} has spaces on the EOL on lines #{failing_lines.join(", ")}" end end @@ -91,7 +91,7 @@ describe "The library itself" do lib_files = `git ls-files -z -- **/*.rb`.split("\x0").reject{|f| f =~ exclusions } sys_exec("ruby -w -I. ", :expect_err) do |input| lib_files.each do |f| - input.puts "require '#{f.gsub(/\.rb$/, '')}'" + input.puts "require '#{f.gsub(/\.rb$/, "")}'" end end -- cgit v1.2.3