mirror of
https://github.com/neovim/neovim.git
synced 2026-04-21 23:05:41 +00:00
fix(test): failure after version bump #28771
Problem: - The test for vim.deprecate() has a "mock" which is outdated because vim.deprecate() no longer uses that. - The tests get confused after a version bump. Solution: Make the tests adapt to the current version.
This commit is contained in:
@@ -116,7 +116,7 @@ end
|
||||
--- @param ... any
|
||||
--- @return any
|
||||
function M.request(method, ...)
|
||||
assert(session)
|
||||
assert(session, 'no Nvim session')
|
||||
local status, rv = session:request(method, ...)
|
||||
if not status then
|
||||
if loop_running then
|
||||
|
||||
Reference in New Issue
Block a user