From 9df0fb1787538df950cc27b7470973d14a4c68f3 Mon Sep 17 00:00:00 2001 From: disrupted Date: Tue, 11 Mar 2025 19:41:58 +0100 Subject: [PATCH] test: add failing test cases --- tests/query/highlights/python/functions.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/query/highlights/python/functions.py diff --git a/tests/query/highlights/python/functions.py b/tests/query/highlights/python/functions.py new file mode 100644 index 000000000..17a7ee04f --- /dev/null +++ b/tests/query/highlights/python/functions.py @@ -0,0 +1,10 @@ +def func() -> None: ... + +_ = func() +# ^^^^ @function.method.call + +class Foo: + def method(self) -> None: ... + +Foo().method() +# ^^^^^^ @function.method.call