aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2015-07-27 13:39:38 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2015-09-16 21:42:57 +0200
commitc8aaabc09c9cd27aeadf395fc025260054490081 (patch)
treee29474a57388a7e1cf8269f553c5be8c2ff36aa1 /test/functional/helpers.lua
parent8c2481806d9d4cc7641968e04be5e9c87e034752 (diff)
downloadrneovim-c8aaabc09c9cd27aeadf395fc025260054490081.tar.gz
rneovim-c8aaabc09c9cd27aeadf395fc025260054490081.tar.bz2
rneovim-c8aaabc09c9cd27aeadf395fc025260054490081.zip
api: vim_err_write: add tests for multiline handling
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r--test/functional/helpers.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index 6055cc3c59..07e0809dbc 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -246,6 +246,10 @@ local function nvim(method, ...)
return request('vim_'..method, ...)
end
+local function nvim_async(method, ...)
+ session:notify('vim_'..method, ...)
+end
+
local function buffer(method, ...)
return request('buffer_'..method, ...)
end
@@ -341,6 +345,7 @@ return {
expect = expect,
ok = ok,
nvim = nvim,
+ nvim_async = nvim_async,
nvim_prog = nvim_prog,
nvim_dir = nvim_dir,
buffer = buffer,