diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-06-24 19:52:14 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-07-15 16:05:12 +0900 |
commit | 16823d4a05580e041ff514122de5f3a3fbcef409 (patch) | |
tree | 56b01b2c04e7b89e4e7437db1e4abcc9ad7fde94 /spec/bundler/bundler/friendly_errors_spec.rb | |
parent | e2837a77be2164fa17be046eabb93cbb63f77311 (diff) |
[rubygems/rubygems] Remove unnecessary assertions on exitstatus
Since our helpers now raise by default if the subcommand fails, these
will never actually fail and are not necessary.
https://github.com/rubygems/rubygems/commit/6153b9321e
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3275
Diffstat (limited to 'spec/bundler/bundler/friendly_errors_spec.rb')
-rw-r--r-- | spec/bundler/bundler/friendly_errors_spec.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/bundler/bundler/friendly_errors_spec.rb b/spec/bundler/bundler/friendly_errors_spec.rb index 495cbdbe49..d6496db6ae 100644 --- a/spec/bundler/bundler/friendly_errors_spec.rb +++ b/spec/bundler/bundler/friendly_errors_spec.rb @@ -25,7 +25,6 @@ RSpec.describe Bundler, "friendly errors" do bundle :install, :env => { "DEBUG" => "true" } expect(err).to include("Failed to load #{home(".gemrc")}") - expect(exitstatus).to eq(0) if exitstatus end end |