mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Revert "ci(tests): drop flaky wing parser tests"
This reverts commit f08a9d97f7.
(Fixed by skipping bindings when generating.)
This commit is contained in:
parent
9a39ec072a
commit
bfa217af76
2 changed files with 23 additions and 0 deletions
19
tests/query/highlights/wing/class.w
Normal file
19
tests/query/highlights/wing/class.w
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
bring cloud;
|
||||
// <- @keyword
|
||||
|
||||
class Foo {
|
||||
// <- @keyword
|
||||
// ^ @variable
|
||||
// ^ @punctuation.bracket
|
||||
name: str;
|
||||
//^ @variable.member
|
||||
// ^ @type.builtin
|
||||
// ^ @punctuation.delimiter
|
||||
new(name: str) {
|
||||
//^ @keyword
|
||||
// ^ @variable
|
||||
this.name = name;
|
||||
// ^ @punctuation.delimiter
|
||||
// ^ @operator
|
||||
}
|
||||
}
|
||||
4
tests/query/highlights/wing/nested_method.w
Normal file
4
tests/query/highlights/wing/nested_method.w
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
test1.test2.test3();
|
||||
// <- @variable
|
||||
// ^ @variable.member
|
||||
// ^ @function.method.call
|
||||
Loading…
Add table
Add a link
Reference in a new issue