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:
parent
04a5ee6a23
commit
77e1b47729
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue