Skip to content

Commit

Permalink
@@project_dir in Gem::TestCase is no longer used
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Jul 24, 2019
1 parent 99fb637 commit dc954cb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions tool/lib/test/unit/parallel.rb
Expand Up @@ -198,11 +198,5 @@ def on_parallel_worker?
end
end
require 'rubygems'
module Gem # :nodoc:
end
class Gem::TestCase < MiniTest::Unit::TestCase # :nodoc:
@@project_dir = File.expand_path('../../../../..', __FILE__)
end

Test::Unit::Worker.new.run(ARGV)
end
6 changes: 0 additions & 6 deletions tool/test/runner.rb
Expand Up @@ -24,12 +24,6 @@

require 'test/unit'

module Gem
end
class Gem::TestCase < MiniTest::Unit::TestCase
@@project_dir = File.dirname($LOAD_PATH.last)
end

ENV["GEM_SKIP"] = ENV["GEM_HOME"] = ENV["GEM_PATH"] = "".freeze

require_relative "#{tool_dir}/lib/profile_test_all" if ENV.has_key?('RUBY_TEST_ALL_PROFILE')
Expand Down

0 comments on commit dc954cb

Please sign in to comment.