зеркало из https://github.com/github/ruby.git
[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:
Родитель
05ae2c11fa
Коммит
0ca494fc80
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче