From 95e4decca9134299e71a89c7ffe87d4fa004c28c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3n=C3=A1n=20Carrigan?= Date: Sun, 20 Feb 2022 12:34:02 +0000 Subject: [PATCH] fix: remove snake_case requirement for test names --- lua/neotest-python/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/neotest-python/init.lua b/lua/neotest-python/init.lua index 49bfddf..f4cc5fc 100644 --- a/lua/neotest-python/init.lua +++ b/lua/neotest-python/init.lua @@ -78,7 +78,7 @@ function PythonNeotestAdapter.discover_positions(path) local query = [[ ((function_definition name: (identifier) @test.name) - (#match? @test.name "^test_")) + (#match? @test.name "^test")) @test.definition (class_definition