summaryrefslogtreecommitdiff
path: root/spec/bundler/cache/gems_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-06-24 19:53:16 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-07-15 16:05:12 +0900
commit2fafc08aa34ddba39d0bfdb6e7c5de4f7bf7f55e (patch)
tree7b857ff42b6b51018793e191e2f19adeaf023033 /spec/bundler/cache/gems_spec.rb
parent547ba6608e3e81674f829b75fcb0a9023889e235 (diff)
[rubygems/rubygems] Remove unneeded trailing conditions on exitstatus
https://github.com/rubygems/rubygems/commit/27e0e4ecb6
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3275
Diffstat (limited to 'spec/bundler/cache/gems_spec.rb')
-rw-r--r--spec/bundler/cache/gems_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/cache/gems_spec.rb b/spec/bundler/cache/gems_spec.rb
index 8d7470836d..2b5ba733f0 100644
--- a/spec/bundler/cache/gems_spec.rb
+++ b/spec/bundler/cache/gems_spec.rb
@@ -138,7 +138,7 @@ RSpec.describe "bundle cache" do
G
bundle :cache, :raise_on_error => false
- expect(exitstatus).to_not eq(0) if exitstatus
+ expect(exitstatus).to_not eq(0)
expect(err).to include("builtin_gem-1.0.2 is built in to Ruby, and can't be cached")
end
end