1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/rdoc] Add an alias for test-unit with older versions of RubyGems

https://github.com/ruby/rdoc/commit/b8d68fdd87
This commit is contained in:
aycabta 2021-05-23 23:48:41 +09:00
parent 04a5ee6a23
commit 77e1b47729

View file

@ -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