[rubygems/rubygems] There is no usage of @orig_env_* variables in test suite.

https://github.com/rubygems/rubygems/commit/2adef51dc9
This commit is contained in:
Hiroshi SHIBATA 2019-07-21 10:17:26 +09:00
parent a3c0ea55f8
commit d1806bd8da
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -307,7 +307,6 @@ class Gem::TestCase < (defined?(Minitest::Test) ? Minitest::Test : MiniTest::Uni
Dir.chdir @tempdir
@orig_ENV_HOME = ENV['HOME']
ENV['HOME'] = @userhome
Gem.instance_variable_set :@user_home, nil
Gem.instance_variable_set :@gemdeps, nil
@ -318,7 +317,6 @@ class Gem::TestCase < (defined?(Minitest::Test) ? Minitest::Test : MiniTest::Uni
FileUtils.mkdir_p @gemhome
FileUtils.mkdir_p @userhome
@orig_gem_private_key_passphrase = ENV['GEM_PRIVATE_KEY_PASSPHRASE']
ENV['GEM_PRIVATE_KEY_PASSPHRASE'] = PRIVATE_KEY_PASSPHRASE
@default_dir = File.join @tempdir, 'default'