diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-05-16 05:33:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-16 05:33:04 -0700 |
commit | 83a32e2d980658384dd1aa9a8a886767f3108022 (patch) | |
tree | 9c1bb60f677d4634ceb7800418037a86544d2d4c /test/functional/testnvim.lua | |
parent | b5c3687b6ddae8952510bdbbfa8be577de7edf05 (diff) | |
download | rneovim-83a32e2d980658384dd1aa9a8a886767f3108022.tar.gz rneovim-83a32e2d980658384dd1aa9a8a886767f3108022.tar.bz2 rneovim-83a32e2d980658384dd1aa9a8a886767f3108022.zip |
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.
Diffstat (limited to 'test/functional/testnvim.lua')
-rw-r--r-- | test/functional/testnvim.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/testnvim.lua b/test/functional/testnvim.lua index 0533e8ad0a..6b858e4d69 100644 --- a/test/functional/testnvim.lua +++ b/test/functional/testnvim.lua @@ -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 |