jellyfin-web/dashboard-ui/bower_components/prism/tests/languages/autoit/comment_feature.test

33 lines
657 B
Plaintext
Raw Normal View History

2016-02-02 19:12:02 -07:00
;
; foo
#comments-start
foobar()
#comments-end
#cs
foobar()
#ce
;#comments-start
foobar()
;#comments-end
;#cs
foobar()
;#ce
----------------------------------------------------
[
["comment", ";"],
["comment", "; foo"],
["comment", "#comments-start\r\n\tfoobar()\r\n#comments-end"],
["comment", "#cs\r\n\tfoobar()\r\n#ce"],
["comment", ";#comments-start"],
["function", "foobar"], ["punctuation", "("], ["punctuation", ")"],
["comment", ";#comments-end"],
["comment", ";#cs"],
["function", "foobar"], ["punctuation", "("], ["punctuation", ")"],
["comment", ";#ce"]
]
----------------------------------------------------
Checks for comments.