Index: lib/src/prism/tests/languages/handlebars/comment_feature.test |
diff --git a/lib/src/prism/tests/languages/handlebars/comment_feature.test b/lib/src/prism/tests/languages/handlebars/comment_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..813f978d6e42f2b422f5cb8ee9dd3cb5cbacb41b |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/handlebars/comment_feature.test |
@@ -0,0 +1,19 @@ |
+{{! foobar}} |
+{{!-- foo bar baz --}} |
+{{! foo |
+bar }} |
+{{!-- foo |
+bar --}} |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["handlebars-comment", "{{! foobar}}"], |
+ ["handlebars-comment", "{{!-- foo bar baz --}}"], |
+ ["handlebars-comment", "{{! foo\r\nbar }}"], |
+ ["handlebars-comment", "{{!-- foo\r\nbar --}}"] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for comments. |