Skip to content

Commit 53bf235

Browse files
committed
Merge pull request csstools#28 from jonathanKingston/pseudo-class-test
Adding in test for multiple selectors with a pseudo class
2 parents a96a660 + cf0f7dc commit 53bf235

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

test/index.js

+16
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,22 @@ article h6 + p {}`,
150150
"should works handle multiples combined selectors"
151151
)
152152

153+
t.equal(
154+
transform(
155+
`@custom-selector :--foo .foo;
156+
157+
:--foo :--foo:hover {
158+
color: white;
159+
}
160+
`
161+
).css,
162+
`.foo .foo:hover {
163+
color: white;
164+
}
165+
`,
166+
"should works handle multiples combined selectors with pseudo classes"
167+
)
168+
153169
t.equal(
154170
transform(
155171
`@custom-selector :--foo h1, h2, h3;

0 commit comments

Comments
 (0)