diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-27 03:45:22 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-04-27 03:45:22 +0000 |
commit | 336a8301f725bd8fbf5f1e0c4fee162382a76d0f (patch) | |
tree | 455c5fb8689d09e734a9ca13cdbe3ef9a7651a6e /test/rdoc/test_rdoc_parser_simple.rb | |
parent | 3a87c3c5603fce8449f78faccaff5f4be6f372e1 (diff) | |
download | ruby-336a8301f725bd8fbf5f1e0c4fee162382a76d0f.tar.gz |
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
Diffstat (limited to 'test/rdoc/test_rdoc_parser_simple.rb')
-rw-r--r-- | test/rdoc/test_rdoc_parser_simple.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/rdoc/test_rdoc_parser_simple.rb b/test/rdoc/test_rdoc_parser_simple.rb index a83f105edd..d09cced5a4 100644 --- a/test/rdoc/test_rdoc_parser_simple.rb +++ b/test/rdoc/test_rdoc_parser_simple.rb @@ -23,12 +23,11 @@ class TestRDocParserSimple < MiniTest::Unit::TestCase end def test_initialize_metadata - parser = util_parser ":unhandled: \n# :markup: not rdoc\n" + parser = util_parser ":unhandled: \n" - assert_equal nil, @top_level.metadata['unhandled'] - assert_equal 'not rdoc', @top_level.metadata['markup'] + assert_includes @top_level.metadata, 'unhandled' - assert_equal ":unhandled: \n# :markup: not rdoc\n", parser.content + assert_equal ":unhandled: \n", parser.content end def test_remove_coding_comment |