summaryrefslogtreecommitdiff
path: root/spec/runtime/inline_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/runtime/inline_spec.rb')
-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