Skip to content

Commit

Permalink
There is no usage of @orig_env_* variables in test suite.
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Jul 21, 2019
1 parent d7e5918 commit 2adef51
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/rubygems/test_case.rb
Expand Up @@ -308,7 +308,6 @@ def setup

Dir.chdir @tempdir

@orig_ENV_HOME = ENV['HOME']
ENV['HOME'] = @userhome
Gem.instance_variable_set :@user_home, nil
Gem.instance_variable_set :@gemdeps, nil
Expand All @@ -319,7 +318,6 @@ def setup
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'
Expand Down

0 comments on commit 2adef51

Please sign in to comment.