| Index: lib/src/prism/tests/languages/rest/comment_feature.test
|
| diff --git a/lib/src/prism/tests/languages/rest/comment_feature.test b/lib/src/prism/tests/languages/rest/comment_feature.test
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4be68655d52eb9975bb44d2025c5b17556c8124b
|
| --- /dev/null
|
| +++ b/lib/src/prism/tests/languages/rest/comment_feature.test
|
| @@ -0,0 +1,24 @@
|
| +.. foo
|
| +
|
| +.. foo
|
| +bar
|
| +
|
| +..
|
| + _foo:
|
| + [bar]
|
| + |baz|
|
| +
|
| +----------------------------------------------------
|
| +
|
| +[
|
| + ["punctuation", ".."],
|
| + ["comment", " foo"],
|
| + ["punctuation", ".."],
|
| + ["comment", " foo\r\nbar"],
|
| + ["punctuation", ".."],
|
| + ["comment", "\r\n\t_foo:\r\n\t[bar]\r\n\t|baz|"]
|
| +]
|
| +
|
| +----------------------------------------------------
|
| +
|
| +Checks for comments.
|
|
|