effective-java-3rd-chinese/docs/_style/prism-master/tests/languages/ruby/comment_feature.test
2019-03-14 13:10:17 +08:00

22 lines
364 B
Plaintext

#
# foobar
=begin
foo bar baz
=end
=begin
=end
#{comment}
----------------------------------------------------
[
["comment", "#"],
["comment", "# foobar"],
["comment", "=begin\r\nfoo bar baz\r\n=end"],
["comment", "=begin\r\n=end"],
["comment", "#{comment}"]
]
----------------------------------------------------
Checks for comments.