aboutsummaryrefslogtreecommitdiffstats
path: root/tool/lib/core_assertions.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-09-08 10:35:50 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-09-11 08:48:03 +0900
commit8ec187c091537aa5d25f19eee522aaec12bc7c26 (patch)
treef514109c18aff8539c911923e91b3024ef2e15c3 /tool/lib/core_assertions.rb
parentc18e9539373a1e90e36e503a51ce5cebb7372e23 (diff)
downloadruby-8ec187c091537aa5d25f19eee522aaec12bc7c26.tar.gz
Replace MiniTest::Unit to Test::Unit::Runner
Diffstat (limited to 'tool/lib/core_assertions.rb')
-rw-r--r--tool/lib/core_assertions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/core_assertions.rb b/tool/lib/core_assertions.rb
index fd3c187191..36ff2a08ba 100644
--- a/tool/lib/core_assertions.rb
+++ b/tool/lib/core_assertions.rb
@@ -271,7 +271,7 @@ module Test
capture_stdout = true
unless /mswin|mingw/ =~ RUBY_PLATFORM
capture_stdout = false
- opt[:out] = MiniTest::Unit.output if defined?(MiniTest::Unit)
+ opt[:out] = Test::Unit::Runner.output if defined?(Test::Unit::Runner)
res_p, res_c = IO.pipe
opt[:ios] = [res_c]
end