| Index: lib/src/prism/tests/languages/markup/comment_feature.test
|
| diff --git a/lib/src/prism/tests/languages/markup/comment_feature.test b/lib/src/prism/tests/languages/markup/comment_feature.test
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1b26ae54e5a4199073d989d8ab6778d0a0c84ef9
|
| --- /dev/null
|
| +++ b/lib/src/prism/tests/languages/markup/comment_feature.test
|
| @@ -0,0 +1,16 @@
|
| +<!---->
|
| +<!-- foo bar -->
|
| +<!-- foo bar
|
| +baz -->
|
| +
|
| +----------------------------------------------------
|
| +
|
| +[
|
| + ["comment", "<!---->"],
|
| + ["comment", "<!-- foo bar -->"],
|
| + ["comment", "<!-- foo bar\r\nbaz -->"]
|
| +]
|
| +
|
| +----------------------------------------------------
|
| +
|
| +Checks for empty comment, single-line comment and multi-line comment.
|
|
|