diff options
Diffstat (limited to 'test/functional/provider/nodejs_spec.lua')
-rw-r--r-- | test/functional/provider/nodejs_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/provider/nodejs_spec.lua b/test/functional/provider/nodejs_spec.lua index 661a6f4f94..187f1c0412 100644 --- a/test/functional/provider/nodejs_spec.lua +++ b/test/functional/provider/nodejs_spec.lua @@ -29,7 +29,7 @@ describe('nodejs host', function() local fname = 'Xtest-nodejs-hello.js' write_file(fname, [[ const neovim = require('neovim'); - const nvim = neovim.attach({socket: process.env.NVIM_LISTEN_ADDRESS}); + const nvim = neovim.attach({socket: process.env.NVIM}); nvim.command('let g:job_out = "hello"'); ]]) command('let g:job_id = jobstart(["node", "'..fname..'"])') @@ -39,7 +39,7 @@ describe('nodejs host', function() local fname = 'Xtest-nodejs-hello-plugin.js' write_file(fname, [[ const neovim = require('neovim'); - const nvim = neovim.attach({socket: process.env.NVIM_LISTEN_ADDRESS}); + const nvim = neovim.attach({socket: process.env.NVIM}); class TestPlugin { hello() { |