aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/005_bufleave_delete_buffer_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/legacy/005_bufleave_delete_buffer_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/legacy/005_bufleave_delete_buffer_spec.lua')
-rw-r--r--test/functional/legacy/005_bufleave_delete_buffer_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/legacy/005_bufleave_delete_buffer_spec.lua b/test/functional/legacy/005_bufleave_delete_buffer_spec.lua
index 8b92c877a6..8e977aa73e 100644
--- a/test/functional/legacy/005_bufleave_delete_buffer_spec.lua
+++ b/test/functional/legacy/005_bufleave_delete_buffer_spec.lua
@@ -4,7 +4,7 @@
local helpers = require('test.functional.helpers')(after_each)
local clear, feed, insert = helpers.clear, helpers.feed, helpers.insert
local command, expect = helpers.command, helpers.expect
-local wait = helpers.wait
+local poke_eventloop = helpers.poke_eventloop
describe('test5', function()
setup(clear)
@@ -34,7 +34,7 @@ describe('test5', function()
command('bwipe')
feed('G?this is a<cr>')
feed('othis is some more text<esc>')
- wait()
+ poke_eventloop()
-- Append some text to this file.
@@ -45,7 +45,7 @@ describe('test5', function()
command('bwipe!')
-- Append an extra line to the output register.
feed('ithis is another test line<esc>:yank A<cr>')
- wait()
+ poke_eventloop()
-- Output results
command('%d')