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