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

Update to RDoc 2.5.6

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2010-04-23 02:32:20 +00:00
parent 30014a6156
commit 400afca88a
16 changed files with 69 additions and 12 deletions

View file

@ -61,6 +61,18 @@ class TestRDocCodeObject < XrefTestCase
assert @co.documented?
end
def test_metadata
assert_empty @co.metadata
@co.metadata['markup'] = 'not_rdoc'
expected = { 'markup' => 'not_rdoc' }
assert_equal expected, @co.metadata
assert_equal 'not_rdoc', @co.metadata['markup']
end
def test_parent_file_name
assert_equal '(unknown)', @co.parent_file_name
assert_equal 'xref_data.rb', @c1.parent_file_name