summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-09-18 15:05:38 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-09-18 18:26:33 +0900
commit2da8574930f14950ce78892fe65f383fcaf8a71b (patch)
treeb2894d83ce060a11185073ce5bf8afd2c36fea6f /spec
parenteffacde2c0104935fd7258eac77f17684f724cd0 (diff)
Fixed the rubocop warnings
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/runtime/inline_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/runtime/inline_spec.rb b/spec/bundler/runtime/inline_spec.rb
index b613317b08..92243a77b6 100644
--- a/spec/bundler/runtime/inline_spec.rb
+++ b/spec/bundler/runtime/inline_spec.rb
@@ -90,7 +90,7 @@ RSpec.describe "bundler/inline#gemfile" do
expect(out).to include("Installing activesupport")
err.gsub! %r{(.*lib/sinatra/base\.rb:\d+: warning: constant ::Fixnum is deprecated$)}, ""
err_lines = err.split("\n")
- err_lines.reject!{|line| line =~ /\.rb:\d+: warning: /}
+ err_lines.reject!{|line| line =~ /\.rb:\d+: warning: / }
expect(err_lines).to be_empty
expect(exitstatus).to be_zero if exitstatus
end