fix(neotest): properly initialize adapter with call table. Fixes #4538

This commit is contained in:
Folke Lemaitre
2024-10-04 23:50:08 +02:00
parent 90a92312ae
commit 327e829c15

View File

@ -90,7 +90,7 @@ return {
adapter.adapter(config)
adapter = adapter.adapter
elseif meta and meta.__call then
adapter(config)
adapter = adapter(config)
else
error("Adapter " .. name .. " does not support setup")
end