aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/wait_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/vimscript/wait_spec.lua')
-rw-r--r--test/functional/vimscript/wait_spec.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/functional/vimscript/wait_spec.lua b/test/functional/vimscript/wait_spec.lua
index ee95e02a7f..03cdbc12fa 100644
--- a/test/functional/vimscript/wait_spec.lua
+++ b/test/functional/vimscript/wait_spec.lua
@@ -36,11 +36,12 @@ describe('wait()', function()
end)
it('returns -2 when interrupted', function()
- feed_command('call rpcnotify(g:channel, "ready") | '..
- 'call rpcnotify(g:channel, "wait", wait(-1, 0))')
- eq({'notification', 'ready', {}}, next_msg())
+ feed_command(
+ 'call rpcnotify(g:channel, "ready") | ' .. 'call rpcnotify(g:channel, "wait", wait(-1, 0))'
+ )
+ eq({ 'notification', 'ready', {} }, next_msg())
feed('<c-c>')
- eq({'notification', 'wait', {-2}}, next_msg())
+ eq({ 'notification', 'wait', { -2 } }, next_msg())
end)
it('returns -3 on error', function()