File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 305
305
306
306
--- @param position neotest.Position The position to return an ID for
307
307
--- @param namespaces neotest.Position[] Any namespaces the position is within
308
- local function generate_position_id (position , namespaces )
308
+ function adapter . _generate_position_id (position , namespaces )
309
309
local prefix = {}
310
310
for _ , namespace in ipairs (namespaces ) do
311
311
if namespace .type ~= ' file' then
@@ -379,7 +379,7 @@ function adapter.discover_positions(path)
379
379
return lib .treesitter .parse_positions (path , query , {
380
380
require_namespaces = false ,
381
381
nested_tests = true ,
382
- position_id = generate_position_id ,
382
+ position_id = " require('neotest-go')._generate_position_id " ,
383
383
})
384
384
end
385
385
You can’t perform that action at this time.
0 commit comments