aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal/window_spec.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2020-10-19 20:17:51 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2020-10-19 21:48:06 +0200
commit07cc231142f5810c70818007dcd720271b1c0248 (patch)
tree6527f2b82c1a279b1bb985a4fde9651f96a0d352 /test/functional/terminal/window_spec.lua
parent288f7f8558c331fadcc72e9c7391fff08d42ba36 (diff)
downloadrneovim-07cc231142f5810c70818007dcd720271b1c0248.tar.gz
rneovim-07cc231142f5810c70818007dcd720271b1c0248.tar.bz2
rneovim-07cc231142f5810c70818007dcd720271b1c0248.zip
A Mudholland Dr. Recast
The commit summary maybe does not make sense, but calling a function that does not wait on anything `wait()` makes even less sense.
Diffstat (limited to 'test/functional/terminal/window_spec.lua')
-rw-r--r--test/functional/terminal/window_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/terminal/window_spec.lua b/test/functional/terminal/window_spec.lua
index f1c828d17e..9f278fd157 100644
--- a/test/functional/terminal/window_spec.lua
+++ b/test/functional/terminal/window_spec.lua
@@ -2,7 +2,7 @@ local helpers = require('test.functional.helpers')(after_each)
local thelpers = require('test.functional.terminal.helpers')
local feed_data = thelpers.feed_data
local feed, clear = helpers.feed, helpers.clear
-local wait = helpers.wait
+local poke_eventloop = helpers.poke_eventloop
local iswin = helpers.iswin
local command = helpers.command
local retry = helpers.retry
@@ -127,7 +127,7 @@ describe(':terminal window', function()
it('wont show any folds', function()
feed([[<C-\><C-N>ggvGzf]])
- wait()
+ poke_eventloop()
screen:expect([[
^tty ready |
line1 |