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

@ -22,6 +22,15 @@ class TestRDocParserSimple < MiniTest::Unit::TestCase
@tempfile.close
end
def test_initialize_metadata
parser = util_parser ":unhandled: \n# :markup: not rdoc\n"
assert_equal nil, @top_level.metadata['unhandled']
assert_equal 'not rdoc', @top_level.metadata['markup']
assert_equal ":unhandled: \n# :markup: not rdoc\n", parser.content
end
def test_remove_coding_comment
parser = util_parser <<-TEXT
# -*- mode: rdoc; coding: utf-8; fill-column: 74; -*-