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

@ -151,11 +151,14 @@ class TestRDocParserRuby < MiniTest::Unit::TestCase
def test_look_for_directives_in_unhandled
util_parser ""
comment = "# :unhandled: \n# :title: hi\n"
comment = "# :unhandled: \n# :markup: not rdoc\n# :title: hi\n"
@parser.look_for_directives_in @top_level, comment
assert_equal "# :unhandled: \n", comment
assert_equal "# :unhandled: \n# :markup: not rdoc\n", comment
assert_equal nil, @top_level.metadata['unhandled']
assert_equal 'not rdoc', @top_level.metadata['markup']
assert_equal 'hi', @options.title
end