diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-02-10 20:51:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-10 20:51:36 +0100 |
commit | b8ad1bfe8bc23ed5ffbfe43df5fda3501f1d2802 (patch) | |
tree | ea341bee19c2202cbe94ccefb2afeba953af713e /test/functional/api/rpc_fixture.lua | |
parent | 4c64cbe99f2616a1d1126257da8d40773f4adba1 (diff) | |
parent | 0837980db4958baca96449869d31120f349f3500 (diff) | |
download | rneovim-b8ad1bfe8bc23ed5ffbfe43df5fda3501f1d2802.tar.gz rneovim-b8ad1bfe8bc23ed5ffbfe43df5fda3501f1d2802.tar.bz2 rneovim-b8ad1bfe8bc23ed5ffbfe43df5fda3501f1d2802.zip |
Merge pull request #22077 from bfredl/neolua_client
refactor(tests): integrate lua-client into core and use core for functionaltests
Diffstat (limited to 'test/functional/api/rpc_fixture.lua')
-rw-r--r-- | test/functional/api/rpc_fixture.lua | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/functional/api/rpc_fixture.lua b/test/functional/api/rpc_fixture.lua index 94df751363..c860a6da59 100644 --- a/test/functional/api/rpc_fixture.lua +++ b/test/functional/api/rpc_fixture.lua @@ -4,9 +4,8 @@ package.path = arg[1] package.cpath = arg[2] -local mpack = require('mpack') -local StdioStream = require('nvim.stdio_stream') -local Session = require('nvim.session') +local StdioStream = require'test.client.uv_stream'.StdioStream +local Session = require'test.client.session' local stdio_stream = StdioStream.open() local session = Session.new(stdio_stream) @@ -19,7 +18,7 @@ local function on_request(method, args) return "done!" elseif method == "exit" then session:stop() - return mpack.NIL + return vim.NIL end end |