diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-03-11 19:53:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-11 19:53:05 +0100 |
commit | 241c380da93835081e2c1a072d0a281245dd0af4 (patch) | |
tree | 40dc6f1f17d7765b88e36782a785a1124b6bab01 /test/functional/api/server_requests_spec.lua | |
parent | a2d1e9cc795c651864339a7197a748806f8af5eb (diff) | |
parent | b0b656dd37567dea5e3f58e7821c7442831403cb (diff) | |
download | rneovim-241c380da93835081e2c1a072d0a281245dd0af4.tar.gz rneovim-241c380da93835081e2c1a072d0a281245dd0af4.tar.bz2 rneovim-241c380da93835081e2c1a072d0a281245dd0af4.zip |
Merge #8117 'build/CI/MSVC/LuaRocks'
Diffstat (limited to 'test/functional/api/server_requests_spec.lua')
-rw-r--r-- | test/functional/api/server_requests_spec.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/api/server_requests_spec.lua b/test/functional/api/server_requests_spec.lua index 37ac532d18..18229b54ff 100644 --- a/test/functional/api/server_requests_spec.lua +++ b/test/functional/api/server_requests_spec.lua @@ -6,7 +6,7 @@ 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 -local source, next_message = helpers.source, helpers.next_message +local source, next_msg = helpers.source, helpers.next_msg local ok = helpers.ok local meths = helpers.meths local spawn, nvim_argv = helpers.spawn, helpers.nvim_argv @@ -258,12 +258,12 @@ describe('server -> client', function() it('rpc and text stderr can be combined', function() eq("ok",funcs.rpcrequest(jobid, "poll")) funcs.rpcnotify(jobid, "ping") - eq({'notification', 'pong', {}}, next_message()) + eq({'notification', 'pong', {}}, next_msg()) eq("done!",funcs.rpcrequest(jobid, "write_stderr", "fluff\n")) - eq({'notification', 'stderr', {0, {'fluff', ''}}}, next_message()) + eq({'notification', 'stderr', {0, {'fluff', ''}}}, next_msg()) funcs.rpcrequest(jobid, "exit") - eq({'notification', 'stderr', {0, {''}}}, next_message()) - eq({'notification', 'exit', {0, 0}}, next_message()) + eq({'notification', 'stderr', {0, {''}}}, next_msg()) + eq({'notification', 'exit', {0, 0}}, next_msg()) end) end) |