mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Silence deprecations when gemdeps is used in tests
Because we can't control 3rd party gems using deprecated rubygems behavior, and thus outputting warnings to the screen. https://github.com/rubygems/rubygems/commit/6912ebf20a
This commit is contained in:
parent
05ae2c11fa
commit
0ca494fc80
1 changed files with 4 additions and 2 deletions
|
@ -1788,8 +1788,10 @@ You may need to `gem install -g` to install missing gems
|
|||
|
||||
EXPECTED
|
||||
|
||||
assert_output nil, expected do
|
||||
Gem.use_gemdeps
|
||||
Gem::Deprecate.skip_during do
|
||||
assert_output nil, expected do
|
||||
Gem.use_gemdeps
|
||||
end
|
||||
end
|
||||
ensure
|
||||
ENV['RUBYGEMS_GEMDEPS'] = rubygems_gemdeps
|
||||
|
|
Loading…
Reference in a new issue