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

@ -406,6 +406,17 @@ Init_Foo(void) {
assert_equal "a comment for bar", bar.comment
end
def test_look_for_directives_in
parser = util_parser ''
comment = "# :markup: not_rdoc\n"
parser.look_for_directives_in @top_level, comment
assert_equal "# :markup: not_rdoc\n", comment
assert_equal 'not_rdoc', @top_level.metadata['markup']
end
def test_define_method
content = <<-EOF
/*Method Comment! */