diff options
author | aycabta <[email protected]> | 2019-01-22 04:46:46 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2019-07-26 17:20:58 +0800 |
commit | a86d4eef4b4551a48a5329bb993c3c6c39a1b1f3 (patch) | |
tree | 15c6b61eac64464b984b41d59906b02643ab372f /test/rdoc/test_rdoc_parser_c.rb | |
parent | f7cbbc707413f7e1c71ac1839b0c8834550451e6 (diff) |
[ruby/rdoc] Normalization of comment should check language
RDoc::Text#normalize_comment that is included RDoc::Comment always
remove Ruby style comment indicator "#" and C style comment indicator
"/**/", but should check language and remove only the language's comment
indicator.
https://github.com/ruby/rdoc/commit/ca68ba1e73
Diffstat (limited to 'test/rdoc/test_rdoc_parser_c.rb')
-rw-r--r-- | test/rdoc/test_rdoc_parser_c.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rdoc/test_rdoc_parser_c.rb b/test/rdoc/test_rdoc_parser_c.rb index 3d30d767df..ca668f61fc 100644 --- a/test/rdoc/test_rdoc_parser_c.rb +++ b/test/rdoc/test_rdoc_parser_c.rb @@ -1381,7 +1381,7 @@ commercial() -> Date <br /> end def test_find_modifiers_yields - comment = RDoc::Comment.new <<-COMMENT + comment = RDoc::Comment.new <<-COMMENT, @top_level, :c /* :yields: a, b * * Blah |