Skip to content

Commit 27c7459

Browse files
committed
remove invalid test #35
1 parent 2052c44 commit 27c7459

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dist/index-umd-web.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8852,7 +8852,7 @@
88528852
selector: selector.reduce((acc, curr) => {
88538853
let hasCompound = true;
88548854
if (hasCompound && curr.length > 0) {
8855-
hasCompound = ':' != curr[0] || !['&'].concat(combinators).includes(curr[0].charAt(0));
8855+
hasCompound = !['&'].concat(combinators).includes(curr[0].charAt(0));
88568856
}
88578857
// @ts-ignore
88588858
if (hasCompound && curr[0] == ' ') {

dist/index.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8850,7 +8850,7 @@ function reduceSelector(selector) {
88508850
selector: selector.reduce((acc, curr) => {
88518851
let hasCompound = true;
88528852
if (hasCompound && curr.length > 0) {
8853-
hasCompound = ':' != curr[0] || !['&'].concat(combinators).includes(curr[0].charAt(0));
8853+
hasCompound = !['&'].concat(combinators).includes(curr[0].charAt(0));
88548854
}
88558855
// @ts-ignore
88568856
if (hasCompound && curr[0] == ' ') {

dist/lib/ast/minify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ function reduceSelector(selector) {
447447
selector: selector.reduce((acc, curr) => {
448448
let hasCompound = true;
449449
if (hasCompound && curr.length > 0) {
450-
hasCompound = ':' != curr[0] || !['&'].concat(combinators).includes(curr[0].charAt(0));
450+
hasCompound = !['&'].concat(combinators).includes(curr[0].charAt(0));
451451
}
452452
// @ts-ignore
453453
if (hasCompound && curr[0] == ' ') {

src/lib/ast/minify.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ export function reduceSelector(selector: string[][]) {
604604

605605
if (hasCompound && curr.length > 0) {
606606

607-
hasCompound = ':' != curr[0] || !['&'].concat(combinators).includes(curr[0].charAt(0));
607+
hasCompound = !['&'].concat(combinators).includes(curr[0].charAt(0));
608608
}
609609

610610
// @ts-ignore

0 commit comments

Comments
 (0)