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

ruby-changes:61058

From: Hiroshi <ko1@a...>
Date: Fri, 8 May 2020 07:39:22 +0900 (JST)
Subject: [ruby-changes:61058] e29c94e86b (master): [rubygems/rubygems] Minitest::Test is works fine with the ruby core repository

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

From e29c94e86b4b8cce4438099efd00473b880677e8 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Mon, 30 Mar 2020 13:46:22 +0900
Subject: [rubygems/rubygems] Minitest::Test is works fine with the ruby core
 repository

https://github.com/rubygems/rubygems/commit/afa01a29a3

diff --git a/lib/rubygems/test_case.rb b/lib/rubygems/test_case.rb
index 054deb2..a767869 100644
--- a/lib/rubygems/test_case.rb
+++ b/lib/rubygems/test_case.rb
@@ -98,7 +98,7 @@ end https://github.com/ruby/ruby/blob/trunk/lib/rubygems/test_case.rb#L98
 # and uninstall gems, fetch remote gems through a stub fetcher and be assured
 # your normal set of gems is not affected.
 
-class Gem::TestCase < (defined?(Minitest::Test) ? Minitest::Test : MiniTest::Unit::TestCase)
+class Gem::TestCase < Minitest::Test
 
   extend Gem::Deprecate
 
-- 
cgit v0.10.2


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

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