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

ruby-changes:67901

From: Hiroshi <ko1@a...>
Date: Sat, 11 Sep 2021 08:48:35 +0900 (JST)
Subject: [ruby-changes:67901] 1c4f0f1eee (master): We prepared Test::Unit::TestCase in default value

https://git.ruby-lang.org/ruby.git/commit/?id=1c4f0f1eee

From 1c4f0f1eee78a6c3339e31897191d5d38f5087bb Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Thu, 9 Sep 2021 21:03:28 +0900
Subject: We prepared Test::Unit::TestCase in default value

---
 tool/test/testunit/test_minitest_unit.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tool/test/testunit/test_minitest_unit.rb b/tool/test/testunit/test_minitest_unit.rb
index 84e426a..83a6de2 100644
--- a/tool/test/testunit/test_minitest_unit.rb
+++ b/tool/test/testunit/test_minitest_unit.rb
@@ -237,8 +237,8 @@ class TestMiniTestRunner < MetaMetaMetaTestCase https://github.com/ruby/ruby/blob/trunk/tool/test/testunit/test_minitest_unit.rb#L237
 
     tc = Class.new(Test::Unit::TestCase)
 
-    assert_equal 1, Test::Unit::TestCase.test_suites.size
-    assert_equal [tc], Test::Unit::TestCase.test_suites
+    assert_equal 2, Test::Unit::TestCase.test_suites.size
+    assert_equal [tc, Test::Unit::TestCase], Test::Unit::TestCase.test_suites
   end
 
   def assert_filtering name, expected, a = false
-- 
cgit v1.1


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

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