CS-Notes/docs/_style/prism-master/tests/languages/javascript/issue1340.test

15 lines
369 B
Plaintext
Raw Normal View History

2018-12-19 14:09:39 +08:00
/*
* ([{}])
* // <= double slash comment
* ([{}]) <= punctuation
*/
----------------------------------------------------
[
["comment", "/*\r\n * ([{}])\r\n * // <= double slash comment\r\n * ([{}]) <= punctuation\r\n */"]
]
----------------------------------------------------
Checks for single-line comment inside multi-line comment. See #1340