| Index: lib/src/prism/tests/languages/jade/comment_feature.test
|
| diff --git a/lib/src/prism/tests/languages/jade/comment_feature.test b/lib/src/prism/tests/languages/jade/comment_feature.test
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1ca737a566685610964bc013b3a1dedbe7bc00e5
|
| --- /dev/null
|
| +++ b/lib/src/prism/tests/languages/jade/comment_feature.test
|
| @@ -0,0 +1,22 @@
|
| +// foo
|
| + bar
|
| +
|
| + // foo
|
| + bar baz
|
| +
|
| +// foo
|
| +
|
| + // bar
|
| +
|
| +----------------------------------------------------
|
| +
|
| +[
|
| + ["comment", "// foo\r\n bar"],
|
| + ["comment", "// foo\r\n\t\tbar baz"],
|
| + ["comment", "// foo"],
|
| + ["comment", "// bar"]
|
| +]
|
| +
|
| +----------------------------------------------------
|
| +
|
| +Checks for single-line comments.
|
|
|