test: fix some type warnings (#37483)

This commit is contained in:
zeertzjq
2026-01-21 15:11:47 +08:00
committed by GitHub
parent c556972ae1
commit 1883fe39bd
8 changed files with 19 additions and 15 deletions

View File

@@ -33,6 +33,8 @@ function M.feed_csi(data)
M.feed_termcode('[' .. data)
end
--- @param session test.Session
--- @return fun(code: string, ...):any
function M.make_lua_executor(session)
return function(code, ...)
local status, rv = session:request('nvim_exec_lua', code, { ... })