summaryrefslogtreecommitdiff
path: root/test/rdoc
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2021-05-23 23:48:41 +0900
committeraycabta <aycabta@gmail.com>2021-06-02 11:35:45 +0900
commit77e1b477297a48e285d34b21e8d30ab4b46bf90c (patch)
tree7c41a02c4e610b763b29f2b5f8611ce8f673ae51 /test/rdoc
parent04a5ee6a23c317228fde57d99cd06970ce1b9b6a (diff)
[ruby/rdoc] Add an alias for test-unit with older versions of RubyGems
https://github.com/ruby/rdoc/commit/b8d68fdd87
Diffstat (limited to 'test/rdoc')
-rw-r--r--test/rdoc/test_rdoc_rubygems_hook.rb3
1 files changed, 3 insertions, 0 deletions
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