[rubygems/rubygems] Suppress warning during test runner.

ruby core repository explicitly removed this test file at
c945a849cb
for avoid to show warning.

https://github.com/rubygems/rubygems/commit/ee78e64b50
This commit is contained in:
Hiroshi SHIBATA 2024-02-16 18:39:23 +09:00 committed by git
parent 0972cfb795
commit 3d4f5e7671

View File

@ -9,10 +9,6 @@ rescue LoadError => e
raise unless e.path == "rake/packagetask"
end
unless defined?(Rake::PackageTask)
warn "Skipping Gem::PackageTask tests. rake not found."
end
class TestGemPackageTask < Gem::TestCase
def test_gem_package
original_rake_fileutils_verbosity = RakeFileUtils.verbose_flag