Skip to content

Commit 67b071f

Browse files
deathaxeskyronic
authored andcommitted
Relax test cases to avoid failure with ST <4114
The relaxed test cases would fail on <ST4114 as the related fix to avoid duplicated meta scopes was introduced recently. It's basically the same fix as for `lang-attribute` in previous commit, but I don't think we should try to fix all kinds of issues of older HTML.sublime-syntax. This commit ensures to pass CI syntax tests.
1 parent 15fd188 commit 67b071f

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

tests/syntax_test_script.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@
8787

8888

8989
<script type="text/javascript"> <!--
90-
// ^^^^^^^^ meta.tag - meta.tag meta.tag - meta.attribute-with-value - source
91-
// ^^^^^^^^^^^^^^^^^^^^^^ meta.tag meta.attribute-with-value.html - meta.tag meta.tag - meta.attribute-with-value meta.attribute-with-value - source
92-
// ^ meta.tag - meta.tag meta.tag - meta.attribute-with-value - source
90+
// ^^^^^^^^ meta.tag - meta.attribute-with-value - source
91+
// ^^^^^^^^^^^^^^^^^^^^^^ meta.tag meta.attribute-with-value.html - meta.attribute-with-value meta.attribute-with-value - source
92+
// ^ meta.tag - meta.attribute-with-value - source
9393
// ^^^^^ - meta.tag - source
9494
// ^^^^^^ entity.name.tag
9595
// ^^^^ entity.other.attribute-name.html
@@ -118,10 +118,10 @@
118118

119119
<script
120120
type
121-
// ^^^^ meta.tag meta.attribute-with-value.html - meta.tag meta.tag - meta.attribute-with-value meta.attribute-with-value
121+
// ^^^^ meta.tag meta.attribute-with-value.html - meta.attribute-with-value meta.attribute-with-value
122122
=
123123
application/jAvAsCrIpT>
124-
// ^^^^^^^^^^^^^^^^^^^^^^ meta.tag meta.attribute-with-value.html - meta.tag meta.tag - meta.attribute-with-value meta.attribute-with-value
124+
// ^^^^^^^^^^^^^^^^^^^^^^ meta.tag meta.attribute-with-value.html - meta.attribute-with-value meta.attribute-with-value
125125
var foo = 100;
126126
// <- source.js.embedded.html - source source
127127
// ^^^^^^^^^^^^^^^^ source.js.embedded.html - source source

tests/syntax_test_style.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@
8383
8484
8585
<style type="text/css"> <!--
86-
// ^^^^^^^ meta.tag - meta.tag meta.tag - meta.attribute-with-value - source
87-
// ^^^^^^^^^^^^^^^ meta.tag meta.attribute-with-value.html - meta.tag meta.tag - meta.attribute-with-value meta.attribute-with-value - source
88-
// ^ meta.tag - meta.tag meta.tag - meta.attribute-with-value - source
86+
// ^^^^^^^ meta.tag - meta.attribute-with-value - source
87+
// ^^^^^^^^^^^^^^^ meta.tag meta.attribute-with-value.html - meta.attribute-with-value meta.attribute-with-value - source
88+
// ^ meta.tag - meta.attribute-with-value - source
8989
// ^^^^^ - meta.tag - source
9090
// ^^^^^ entity.name.tag
9191
// ^^^^ entity.other.attribute-name.html
@@ -111,10 +111,10 @@
111111
112112
<style
113113
type
114-
// ^^^^ meta.tag meta.attribute-with-value.html - meta.tag meta.tag - meta.attribute-with-value meta.attribute-with-value
114+
// ^^^^ meta.tag meta.attribute-with-value.html - meta.attribute-with-value meta.attribute-with-value
115115
=
116116
tExT/cSs>
117-
// ^^^^^^^^ meta.tag meta.attribute-with-value.html - meta.tag meta.tag - meta.attribute-with-value meta.attribute-with-value
117+
// ^^^^^^^^ meta.tag meta.attribute-with-value.html - meta.attribute-with-value meta.attribute-with-value
118118
119119
h1 {}
120120
// <- source.css.embedded.html - source source
@@ -126,7 +126,7 @@
126126
127127
128128
<style lang="less"> </style>
129-
// ^^^^^^^^^^^^^^^^^^^ meta.tag - meta.tag meta.tag - source
129+
// ^^^^^^^^^^^^^^^^^^^ meta.tag - source
130130
// ^^^^^^^^^^^ meta.attribute-with-value.html - meta.attribute-with-value meta.attribute-with-value
131131
// ^^ source.less.embedded.html - meta.tag
132132
// ^^^^^^^^ meta.tag - source

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy