From 336a8301f725bd8fbf5f1e0c4fee162382a76d0f Mon Sep 17 00:00:00 2001 From: drbrain Date: Tue, 27 Apr 2010 03:45:22 +0000 Subject: Import RDoc 2.5.7. Fixes #1318 and ruby-core:29780 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rdoc/test_rdoc_parser_ruby.rb | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'test/rdoc/test_rdoc_parser_ruby.rb') diff --git a/test/rdoc/test_rdoc_parser_ruby.rb b/test/rdoc/test_rdoc_parser_ruby.rb index f4bd50ba16..988bc507cd 100644 --- a/test/rdoc/test_rdoc_parser_ruby.rb +++ b/test/rdoc/test_rdoc_parser_ruby.rb @@ -151,16 +151,9 @@ class TestRDocParserRuby < MiniTest::Unit::TestCase def test_look_for_directives_in_unhandled util_parser "" - comment = "# :unhandled: \n# :markup: not rdoc\n# :title: hi\n" + @parser.look_for_directives_in @top_level, "# :unhandled: blah\n" - @parser.look_for_directives_in @top_level, 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 + assert_equal 'blah', @top_level.metadata['unhandled'] end def test_parse_alias -- cgit v1.2.3