Index: lib/src/prism/tests/languages/q/comment_feature.test |
diff --git a/lib/src/prism/tests/languages/q/comment_feature.test b/lib/src/prism/tests/languages/q/comment_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2f260e4e65f1b1daf9216680876e4dfa59ed2357 |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/q/comment_feature.test |
@@ -0,0 +1,24 @@ |
+#!/usr/bin/env q |
+/ Foobar |
+ |
+/ |
+Foo |
+bar |
+\ |
+ |
+\ |
+Foo |
+Bar |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["comment", "#!/usr/bin/env q"], |
+ ["comment", "/ Foobar"], |
+ ["comment", "/\r\nFoo\r\nbar\r\n\\"], |
+ ["comment", "\\\r\nFoo\r\nBar"] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for comments. |