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

ruby-changes:66400

From: aycabta <ko1@a...>
Date: Wed, 2 Jun 2021 11:35:33 +0900 (JST)
Subject: [ruby-changes:66400] 77e1b47729 (master): [ruby/rdoc] Add an alias for test-unit with older versions of RubyGems

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

From 77e1b477297a48e285d34b21e8d30ab4b46bf90c Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Sun, 23 May 2021 23:48:41 +0900
Subject: [ruby/rdoc] Add an alias for test-unit with older versions of
 RubyGems

https://github.com/ruby/rdoc/commit/b8d68fdd87
---
 test/rdoc/test_rdoc_rubygems_hook.rb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/rdoc/test_rdoc_rubygems_hook.rb b/test/rdoc/test_rdoc_rubygems_hook.rb
index 4e4451b..28a6f71 100644
--- a/test/rdoc/test_rdoc_rubygems_hook.rb
+++ b/test/rdoc/test_rdoc_rubygems_hook.rb
@@ -9,6 +9,9 @@ class TestRDocRubygemsHook < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rdoc/test_rdoc_rubygems_hook.rb#L9
   unless method_defined?(:assert_path_not_exist)
     alias assert_path_not_exist refute_path_exists
   end
+  unless method_defined?(:assert_raise)
+    alias assert_raise assert_raises
+  end
 
   def setup
     super
-- 
cgit v1.1


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

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