Skip to content

Commit f320c0e

Browse files
committed
feat(treesitter): pass position_id as string
Enables subprocess parsing. See nvim-neotest/neotest#13 (comment)
1 parent ca4724c commit f320c0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/neotest-phpunit/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function NeotestAdapter.discover_positions(path)
4646
]]
4747

4848
return lib.treesitter.parse_positions(path, query, {
49-
position_id = utils.make_test_id,
49+
position_id = "require('neotest-phpunit.utils').make_test_id",
5050
})
5151
end
5252

0 commit comments

Comments
 (0)