summaryrefslogtreecommitdiff
path: root/test/rdoc/test_rdoc_parser_simple.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rdoc/test_rdoc_parser_simple.rb')
-rw-r--r--test/rdoc/test_rdoc_parser_simple.rb7
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