1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Make non "test_" method private

https://github.com/rubygems/rubygems/commit/912d141a35
This commit is contained in:
David Rodríguez 2020-02-04 17:25:56 +01:00 committed by Hiroshi SHIBATA
parent 054d99d95b
commit c6b5881eae
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -532,6 +532,8 @@ class TestGemRequire < Gem::TestCase
end
end
private
def silence_warnings
old_verbose, $VERBOSE = $VERBOSE, false
yield