mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fixed the rubocop warnings
This commit is contained in:
parent
effacde2c0
commit
2da8574930
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue