| Index: lib/src/prism/tests/languages/glsl/comment_feature.test
|
| diff --git a/lib/src/prism/tests/languages/glsl/comment_feature.test b/lib/src/prism/tests/languages/glsl/comment_feature.test
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b45a6bd5c841222fa4304eac1d65cbb16db6e35e
|
| --- /dev/null
|
| +++ b/lib/src/prism/tests/languages/glsl/comment_feature.test
|
| @@ -0,0 +1,21 @@
|
| +/**/
|
| +/* foo
|
| +bar */
|
| +//
|
| +// foo
|
| +// foo\
|
| +bar
|
| +
|
| +----------------------------------------------------
|
| +
|
| +[
|
| + ["comment", "/**/"],
|
| + ["comment", "/* foo\r\nbar */"],
|
| + ["comment", "//"],
|
| + ["comment", "// foo"],
|
| + ["comment", "// foo\\\r\nbar"]
|
| +]
|
| +
|
| +----------------------------------------------------
|
| +
|
| +Checks for comments.
|
|
|