mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Revert "Revert "[rubygems/rubygems] Remove unneeded global teardown""
This reverts commit ac2c07e983
.
This commit is contained in:
parent
3a2628025e
commit
c3ecd1cbd3
Notes:
git
2020-06-15 19:48:50 +09:00
11 changed files with 32 additions and 9 deletions
|
@ -228,7 +228,7 @@ class TestGemSource < Gem::TestCase
|
|||
end
|
||||
|
||||
def test_update_cache_eh_home_nonexistent
|
||||
FileUtils.rm_rf Gem.user_home
|
||||
FileUtils.rmdir Gem.user_home
|
||||
|
||||
refute @source.update_cache?
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue