diff options
author | ZyX <kp-pav@yandex.ru> | 2017-04-09 01:55:19 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-04-09 03:24:14 +0300 |
commit | 69d1003bf79b7466d2fea45f94aeddbedd246049 (patch) | |
tree | a07ae303c5999db40a96e37da800c7ab836e8249 /test/functional/api/server_requests_spec.lua | |
parent | c35bd4d07419a4167f43d1ea60159d922d8bdd11 (diff) | |
download | rneovim-69d1003bf79b7466d2fea45f94aeddbedd246049.tar.gz rneovim-69d1003bf79b7466d2fea45f94aeddbedd246049.tar.bz2 rneovim-69d1003bf79b7466d2fea45f94aeddbedd246049.zip |
functests: Fix some tests which are failing locally for unrelated reasons
Diffstat (limited to 'test/functional/api/server_requests_spec.lua')
-rw-r--r-- | test/functional/api/server_requests_spec.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/api/server_requests_spec.lua b/test/functional/api/server_requests_spec.lua index 76a335a8f4..658077b112 100644 --- a/test/functional/api/server_requests_spec.lua +++ b/test/functional/api/server_requests_spec.lua @@ -1,6 +1,8 @@ -- Test server -> client RPC scenarios. Note: unlike `rpcnotify`, to evaluate -- `rpcrequest` calls we need the client event loop to be running. local helpers = require('test.functional.helpers')(after_each) +local Paths = require('test.config.paths') + local clear, nvim, eval = helpers.clear, helpers.nvim, helpers.eval local eq, neq, run, stop = helpers.eq, helpers.neq, helpers.run, helpers.stop local nvim_prog, command, funcs = helpers.nvim_prog, helpers.command, helpers.funcs @@ -200,7 +202,7 @@ describe('server -> client', function() \ 'rpc': v:true \ } ]]) - local lua_prog = arg[-1] + local lua_prog = Paths.test_lua_prg meths.set_var("args", {lua_prog, 'test/functional/api/rpc_fixture.lua'}) jobid = eval("jobstart(g:args, g:job_opts)") neq(0, 'jobid') |