diff --git a/lua/dap-go-ts.lua b/lua/dap-go-ts.lua index 1af89ca..f3c1526 100644 --- a/lua/dap-go-ts.lua +++ b/lua/dap-go-ts.lua @@ -17,7 +17,10 @@ local subtests_query = [[ field: (field_identifier) @run) arguments: (argument_list (interpreted_string_literal) @testname - (func_literal)) + [ + (func_literal) + (identifier) + ]) (#eq? @run "Run")) @parent ]]