summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-09-01 08:56:00 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-09-05 18:25:03 +0900
commit273681f3afb0c9a2f1c0ca1fc203040a8c8989e1 (patch)
treec59cc572b39d25907feb35be69379549ced23383
parent30a690edbdf5ee64ea54afc7d0c91d910ff2b80e (diff)
downloadbundler-273681f3afb0c9a2f1c0ca1fc203040a8c8989e1.tar.gz
Ignore the all of warnings with inline_spec.rb of bundler examples.backport-ruby-core
-rw-r--r--spec/runtime/inline_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/runtime/inline_spec.rb b/spec/runtime/inline_spec.rb
index 6c268a7c10..92243a77b6 100644
--- a/spec/runtime/inline_spec.rb
+++ b/spec/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