diff options
author | Samuel E. Giddins <segiddins@segiddins.me> | 2015-07-15 20:52:48 -0700 |
---|---|---|
committer | Samuel E. Giddins <segiddins@segiddins.me> | 2015-07-15 20:52:48 -0700 |
commit | a77ca278809d7f31fa51e4b821faed86324c8275 (patch) | |
tree | da1c6c68b24fdcab9acfc07b6a352a39af1c6f4e /spec/quality_spec.rb | |
parent | af694073229af89af205d24ff449f51f74316a37 (diff) | |
download | bundler-a77ca278809d7f31fa51e4b821faed86324c8275.tar.gz |
[RuboCop] Enable Style/StringLiterals
Diffstat (limited to 'spec/quality_spec.rb')
-rw-r--r-- | spec/quality_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
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 |