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:
Justin M. Keyes
2024-05-16 05:33:04 -07:00
committed by GitHub
parent b5c3687b6d
commit 83a32e2d98
2 changed files with 24 additions and 34 deletions

View File

@@ -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