diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-23 02:32:20 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-23 02:32:20 +0000 |
commit | 400afca88a0adb5a380925dea61220e08a04022f (patch) | |
tree | 8820f8f9892d6dc75e4dd0f3110cd91844f15736 /test/rdoc/test_rdoc_parser_ruby.rb | |
parent | 30014a61567b1b672ae46ecf5ff27c059f6c4eea (diff) | |
download | ruby-400afca88a0adb5a380925dea61220e08a04022f.tar.gz |
Update to RDoc 2.5.6
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rdoc/test_rdoc_parser_ruby.rb')
-rw-r--r-- | test/rdoc/test_rdoc_parser_ruby.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/rdoc/test_rdoc_parser_ruby.rb b/test/rdoc/test_rdoc_parser_ruby.rb index d9a7a4f3d5..f4bd50ba16 100644 --- a/test/rdoc/test_rdoc_parser_ruby.rb +++ b/test/rdoc/test_rdoc_parser_ruby.rb @@ -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 |