1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Use Test::Unit namespace

This commit is contained in:
Hiroshi SHIBATA 2021-09-07 20:27:53 +09:00
parent df86d78a26
commit e4b5ac9b9a
Notes: git 2021-09-11 08:48:41 +09:00
2 changed files with 4 additions and 4 deletions

View file

@ -20,7 +20,7 @@
require 'objspace'
class MiniTest::Unit::TestCase
class Test::Unit::TestCase
alias orig_run run
file = ENV['RUBY_TEST_ALL_PROFILE']

View file

@ -113,7 +113,7 @@ module Test
_report "okay"
@options = @opts.dup
suites = MiniTest::Unit::TestCase.test_suites
suites = Test::Unit::TestCase.test_suites
begin
require File.realpath($1)
@ -122,7 +122,7 @@ module Test
_report "ready"
next
end
_run_suites MiniTest::Unit::TestCase.test_suites-suites, $2.to_sym
_run_suites Test::Unit::TestCase.test_suites-suites, $2.to_sym
if @need_exit
_report "bye"
@ -193,7 +193,7 @@ end
if $0 == __FILE__
module Test
module Unit
class TestCase < MiniTest::Unit::TestCase # :nodoc: all
class TestCase # :nodoc: all
undef on_parallel_worker?
def on_parallel_worker?
true