Skip to content

Commit

Permalink
Adjust syntax tests
Browse files Browse the repository at this point in the history
Fix failing syntax tests caused by recent scope name changes in core JavaScript.
  • Loading branch information
deathaxe committed Mar 10, 2024
1 parent a8a668c commit 3e4dbc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/syntax_test_astro.astro
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<ul>{posts.map(post => <li>{post.frontmatter.title}</li>)}</ul>
//^^^^ meta.tag.block
// ^ meta.interpolation.astro punctuation.section.interpolation.begin.astro - source
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.interpolation.astro source.tsx.embedded.astro meta.function-call.method.js
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.interpolation.astro source.tsx.embedded.astro
// ^ meta.interpolation.astro punctuation.section.interpolation.end.astro - source
// ^^^^^ meta.tag.block

Expand Down
2 changes: 1 addition & 1 deletion tests/syntax_test_script.astro
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
// ^ punctuation.separator.key-value.html
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.path.url.html meta.string.html meta.interpolation.astro
// ^ punctuation.section.interpolation.begin.astro - source
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ source.tsx.embedded.astro meta.function-call.method.js
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ source.tsx.embedded.astro meta.function-call
// ^ punctuation.section.interpolation.end.astro - source
// ^^^^^ meta.attribute-with-value.html entity.other.attribute-name.html
// ^ punctuation.definition.tag.end.html
Expand Down

0 comments on commit 3e4dbc9

Please sign in to comment.