diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-09-01 08:56:00 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-09-01 08:56:00 +0900 |
commit | 1756ec2065d5219659b585f3fe3ce666861acd3a (patch) | |
tree | 380b0617f7e63bb13f43e3cfa8b3f5ec8e68ee10 /spec/bundler/runtime | |
parent | a060629e66899a02d01760ee249df84754c8e445 (diff) | |
download | ruby-1756ec2065d5219659b585f3fe3ce666861acd3a.tar.gz |
Ignore the all of warnings with inline_spec.rb of bundler examples.
Diffstat (limited to 'spec/bundler/runtime')
-rw-r--r-- | spec/bundler/runtime/inline_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/runtime/inline_spec.rb b/spec/bundler/runtime/inline_spec.rb index 123d0e07f8..b613317b08 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: The last/} + err_lines.reject!{|line| line =~ /\.rb:\d+: warning: /} expect(err_lines).to be_empty expect(exitstatus).to be_zero if exitstatus end |