Skip to content

Commit

Permalink
Remove wildcard test cases
Browse files Browse the repository at this point in the history
ST changes scope for wildcards from variable.language to constant.other.
Remove related tests to avoid syntax tests breaking.
  • Loading branch information
deathaxe committed Aug 3, 2023
1 parent 80f22e5 commit 4fafb11
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
13 changes: 0 additions & 13 deletions tests/syntax_test_css.less
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@
*.* {}
/* ^^^ meta.selector.css */
/* ^ variable.language.wildcard.asterisk.css - punctuation */
/* ^ entity.other.attribute-name.class.css punctuation.definition.entity.css */
/* ^ variable.language.wildcard.asterisk.css - punctuation */
# {}
/*^^ - meta.selector.css */
Expand All @@ -98,7 +96,6 @@
/* ^^^ meta.selector.css */
/* ^^ - meta.selector.css */
/* ^ entity.other.attribute-name.id.css punctuation.definition.entity.css */
/* ^ variable.language.wildcard.asterisk.css - punctuation */
#01 {}
/*^^ - meta.selector.css */
Expand Down Expand Up @@ -2124,29 +2121,24 @@
/* ^^ - meta.string - string */
/* ^^^^^^^^^^ meta.string.css string.quoted.double.css */
/* ^^^^ - meta.string - string */
/* ^ variable.language.wildcard.asterisk.css */
/* ^^ constant.character.escape.css */
/* ^ punctuation.separator.sequence.css */
/* ^ punctuation.separator.sequence.css */
/* ^ variable.language.wildcard.asterisk.css */
/* ^ punctuation.separator.sequence.css */
/* ^ - variable.language.wildcard */
/* ^^ constant.character.escape.css */
.test-pseudo-class-tag:not(*) {}
/* ^ punctuation.definition.pseudo-class.css - entity */
/* ^^^ entity.other.pseudo-class.css */
/* ^ variable.language.wildcard.asterisk.css */
.test-pseudo-class-tag:is(*) {}
/* ^ punctuation.definition.pseudo-class.css - entity */
/* ^^ entity.other.pseudo-class.css */
/* ^ variable.language.wildcard.asterisk.css */
.test-pseudo-class-tag:where(*) {}
/* ^ punctuation.definition.pseudo-class.css - entity */
/* ^^^^^ entity.other.pseudo-class.css */
/* ^ variable.language.wildcard.asterisk.css */
.test-pseudo-elements::before {}
/* ^^ punctuation.definition.pseudo-element.css - entity */
Expand Down Expand Up @@ -2272,12 +2264,9 @@
.test-attribute-selectors-namespaces[n|a=""][*|a=""][|att][*|*] {}
/* ^ entity.other.namespace-prefix.css */
/* ^ punctuation.separator.namespace.css */
/* ^ variable.language.wildcard.asterisk.css */
/* ^ punctuation.separator.namespace.css */
/* ^ punctuation.separator.namespace.css */
/* ^ variable.language.wildcard.asterisk.css */
/* ^ punctuation.separator.namespace.css */
/* ^ variable.language.wildcard.asterisk.css */
.test-attribute-selectors-operators[a=""][a~=""][a|=""][a^=""][a$=""][a*=""] {}
/* ^ keyword.operator.logical.css */
Expand Down Expand Up @@ -2318,7 +2307,6 @@
/* ^ meta.selector.css - meta.group */
*.test-universal-selector {}
/* ^ variable.language.wildcard.asterisk.css */
.test-combinators >>> a >> a > a + b ~ a || td {}
/* ^^^ keyword.operator.combinator.css */
Expand Down Expand Up @@ -3124,7 +3112,6 @@
.test-attr-function {
top: attr(*|c);
/* ^^^^ support.function.attr.css */
/* ^ variable.language.wildcard.asterisk.css */
/* ^ punctuation.separator.namespace.css */
/* ^ entity.other.attribute-name.css */

Expand Down
1 change: 0 additions & 1 deletion tests/syntax_test_less.less
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,6 @@ custom-@{element}-selector {}
// ^ punctuation.separator.namespace.css
// ^^^^^^^^ entity.other.namespace-prefix.css
// ^ punctuation.separator.namespace.css
// ^ variable.language.wildcard.asterisk.css
// ^ punctuation.separator.namespace.css
// ^^^^^^ entity.other.attribute-name.css
// ^^^^^ variable.other.less
Expand Down

0 comments on commit 4fafb11

Please sign in to comment.