diff --git a/test/index.js b/test/index.js index 9c7fac8..8dc2e09 100644 --- a/test/index.js +++ b/test/index.js @@ -150,6 +150,22 @@ article h6 + p {}`, "should works handle multiples combined selectors" ) + t.equal( + transform( + `@custom-selector :--foo .foo; + +:--foo :--foo:hover { + color: white; +} +` + ).css, + `.foo .foo:hover { + color: white; +} +`, + "should works handle multiples combined selectors with pseudo classes" + ) + t.equal( transform( `@custom-selector :--foo h1, h2, h3;