diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-08-30 11:52:46 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2019-08-30 12:39:31 -0700 |
commit | b5b3afadfab4072f55320075ccac6afe333a140c (patch) | |
tree | 5ef3c93b7e766c9c634ee7f4c0d040ee9b18b441 /spec/bundler | |
parent | 856bb3c35d5d81481b2e5dd00353298e8a0c2ee7 (diff) | |
download | bundler-b5b3afadfab4072f55320075ccac6afe333a140c.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/bundler')
-rw-r--r-- | spec/bundler/runtime/inline_spec.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/bundler/runtime/inline_spec.rb b/spec/bundler/runtime/inline_spec.rb index c3d632d75d..123d0e07f8 100644 --- a/spec/bundler/runtime/inline_spec.rb +++ b/spec/bundler/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 |