summaryrefslogtreecommitdiff
path: root/spec/runtime/inline_spec.rb
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-08-30 11:52:46 -0700
committerJeremy Evans <code@jeremyevans.net>2019-08-30 21:55:16 -0700
commitda7e1f55c86fd65001cf36ea6af86bdd88417161 (patch)
tree636624a9ca29aa765b5ba230be5e9a6091d55d0c /spec/runtime/inline_spec.rb
parent35781bbdbcf6f0394439aefd08afdf12ecfa4e08 (diff)
downloadbundler-da7e1f55c86fd65001cf36ea6af86bdd88417161.tar.gz
Fix a couple of bundler issues with keyword argument separation
There are more issues than this, but hopefully this is enough to get make test-bundler passing in CI.
Diffstat (limited to 'spec/runtime/inline_spec.rb')
-rw-r--r--spec/runtime/inline_spec.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/runtime/inline_spec.rb b/spec/runtime/inline_spec.rb
index c3d632d75d..6c268a7c10 100644
--- a/spec/runtime/inline_spec.rb
+++ b/spec/runtime/inline_spec.rb
@@ -88,9 +88,10 @@ RSpec.describe "bundler/inline#gemfile" do
RUBY
expect(out).to include("Installing activesupport")
- err.gsub! %r{.*lib/sinatra/base\.rb:\d+: warning: constant ::Fixnum is deprecated$}, ""
- err.strip!
- expect(err).to be_empty
+ 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/ }
+ expect(err_lines).to be_empty
expect(exitstatus).to be_zero if exitstatus
end