diff options
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 |