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