Index: lib/src/prism/tests/languages/less/selector_feature.test |
diff --git a/lib/src/prism/tests/languages/less/selector_feature.test b/lib/src/prism/tests/languages/less/selector_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ae82f146b6e8d2ff2b6c839a2cb5b083e97fea85 |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/less/selector_feature.test |
@@ -0,0 +1,24 @@ |
+.bordered {} |
+.@{foo} {} |
+.foo (@bg: #fff, @color: #000) {} |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["selector", [".bordered"]], |
+ ["punctuation", "{"], ["punctuation", "}"], |
+ ["selector", [".@{foo}"]], |
+ ["punctuation", "{"], ["punctuation", "}"], |
+ ["selector", [ |
+ ".foo (", |
+ ["variable", "@bg"], |
+ ": #fff, ", |
+ ["variable", "@color"], |
+ ": #000)" |
+ ]], |
+ ["punctuation", "{"], ["punctuation", "}"] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for selectors and mixin declarations. |