[前][次][番号順一覧][スレッド一覧]

ruby-changes:67932

From: Nobuyoshi <ko1@a...>
Date: Sat, 11 Sep 2021 17:24:24 +0900 (JST)
Subject: [ruby-changes:67932] 911f62e681 (master): Directly alias orig_run_suite

https://git.ruby-lang.org/ruby.git/commit/?id=911f62e681

From 911f62e681019dca947585d154f39195b99dbef9 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sat, 11 Sep 2021 17:19:02 +0900
Subject: Directly alias orig_run_suite

---
 tool/lib/test/unit.rb          | 2 +-
 tool/lib/test/unit/parallel.rb | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/tool/lib/test/unit.rb b/tool/lib/test/unit.rb
index 94867ac..618ad40 100644
--- a/tool/lib/test/unit.rb
+++ b/tool/lib/test/unit.rb
@@ -1514,7 +1514,7 @@ module Test https://github.com/ruby/ruby/blob/trunk/tool/lib/test/unit.rb#L1514
         @@installed_at_exit = true
       end
 
-      alias mini_run_suite _run_suite
+      alias orig_run_suite _run_suite
 
       # Overriding of Test::Unit::Runner#puke
       def puke klass, meth, e
diff --git a/tool/lib/test/unit/parallel.rb b/tool/lib/test/unit/parallel.rb
index 5163220..47ff0b3 100644
--- a/tool/lib/test/unit/parallel.rb
+++ b/tool/lib/test/unit/parallel.rb
@@ -15,7 +15,6 @@ module Test https://github.com/ruby/ruby/blob/trunk/tool/lib/test/unit/parallel.rb#L15
         undef autorun
       end
 
-      alias orig_run_suite mini_run_suite
       undef _run_suite
       undef _run_suites
       undef run
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]