mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -04:00
allow negative assertion in injection tests (#4107)
* tests(vue, svelte): strengthen tests * fix(html, vue, svelte): fix wrong test format * allow negative assertions in injection tests
This commit is contained in:
parent
0922634d37
commit
85d9534491
5 changed files with 84 additions and 135 deletions
4
tests/query/injections/vue/negative-assertions.vue
Normal file
4
tests/query/injections/vue/negative-assertions.vue
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<script lang="ts"> const foo: number = "1" </script>
|
||||
<!-- ^ !javascript -->
|
||||
<style lang="scss"> .bar { &-baz { &.page{ } } } </style>
|
||||
<!-- ^ !css -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue