jellyfin-web/dashboard-ui/bower_components/prism/tests/languages/autoit/comment_feature.test
2016-02-02 21:12:02 -05:00

33 lines
657 B
Plaintext

;
; 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.