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