Index: lib/src/prism/tests/languages/haml/code_feature.test |
diff --git a/lib/src/prism/tests/languages/haml/code_feature.test b/lib/src/prism/tests/languages/haml/code_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..51315e62c1eb641142027fa15d4a23d336de7c79 |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/haml/code_feature.test |
@@ -0,0 +1,19 @@ |
+~ 42 |
+- 42 |
+= 42 |
+&= 42 |
+!= 42 |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["punctuation", "~"], ["code", [["number", "42"]]], |
+ ["punctuation", "-"], ["code", [["number", "42"]]], |
+ ["punctuation", "="], ["code", [["number", "42"]]], |
+ ["punctuation", "&="], ["code", [["number", "42"]]], |
+ ["punctuation", "!="], ["code", [["number", "42"]]] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for single-line code. |