Index: lib/src/prism/tests/languages/less/atrule_feature.test |
diff --git a/lib/src/prism/tests/languages/less/atrule_feature.test b/lib/src/prism/tests/languages/less/atrule_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..333d672217b90d68c66dbff3263f5be27236f9f8 |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/less/atrule_feature.test |
@@ -0,0 +1,25 @@ |
+@media {} |
+@media screen and (min-width: 320px) {} |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["atrule", [ |
+ "@media" |
+ ]], |
+ ["punctuation", "{"], ["punctuation", "}"], |
+ |
+ ["atrule", [ |
+ "@media screen and ", |
+ ["punctuation", "("], |
+ "min-width", |
+ ["punctuation", ":"], |
+ " 320px", |
+ ["punctuation", ")"] |
+ ]], |
+ ["punctuation", "{"], ["punctuation", "}"] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for at-rules. |