mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Import RDoc 3.5.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
918f625a5e
commit
cc2a16d94d
49 changed files with 2119 additions and 273 deletions
|
@ -23,6 +23,12 @@ class TestRDocNormalModule < XrefTestCase
|
|||
assert_equal [mod2, incl.name], mod.ancestors
|
||||
end
|
||||
|
||||
def test_definition
|
||||
m = RDoc::NormalModule.new 'M'
|
||||
|
||||
assert_equal 'module M', m.definition
|
||||
end
|
||||
|
||||
def test_module_eh
|
||||
assert @mod.module?
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue