Skip to content

Commit

Permalink
Remove unnecessary stuff from base test case
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez authored and hsbt committed Jun 17, 2020
1 parent 66b0677 commit 7b5a779
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions lib/rubygems/test_case.rb
Expand Up @@ -1531,24 +1531,4 @@ def self.key_path(key_name)

end

# require dependencies that are not discoverable once GEM_HOME and GEM_PATH
# are wiped
begin
gem 'rake'
rescue Gem::LoadError
end

begin
require 'rake/packagetask'
rescue LoadError
end

begin
gem 'rdoc'
require 'rdoc'

require 'rubygems/rdoc'
rescue LoadError, Gem::LoadError
end

require 'rubygems/test_utilities'

0 comments on commit 7b5a779

Please sign in to comment.