mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
test: add failing test cases
This commit is contained in:
parent
cf0eabc16c
commit
9df0fb1787
1 changed files with 10 additions and 0 deletions
10
tests/query/highlights/python/functions.py
Normal file
10
tests/query/highlights/python/functions.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
def func() -> None: ...
|
||||
|
||||
_ = func()
|
||||
# ^^^^ @function.method.call
|
||||
|
||||
class Foo:
|
||||
def method(self) -> None: ...
|
||||
|
||||
Foo().method()
|
||||
# ^^^^^^ @function.method.call
|
||||
Loading…
Add table
Add a link
Reference in a new issue