From 77e1b477297a48e285d34b21e8d30ab4b46bf90c Mon Sep 17 00:00:00 2001 From: aycabta 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(+) (limited to 'test/rdoc') diff --git a/test/rdoc/test_rdoc_rubygems_hook.rb b/test/rdoc/test_rdoc_rubygems_hook.rb index 4e4451bd8c..28a6f71031 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 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.2.3