fix: remove snake_case requirement for test names
This commit is contained in:
@@ -78,7 +78,7 @@ function PythonNeotestAdapter.discover_positions(path)
|
|||||||
local query = [[
|
local query = [[
|
||||||
((function_definition
|
((function_definition
|
||||||
name: (identifier) @test.name)
|
name: (identifier) @test.name)
|
||||||
(#match? @test.name "^test_"))
|
(#match? @test.name "^test"))
|
||||||
@test.definition
|
@test.definition
|
||||||
|
|
||||||
(class_definition
|
(class_definition
|
||||||
|
Reference in New Issue
Block a user