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