diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2020-10-19 20:17:51 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2020-10-19 21:48:06 +0200 |
commit | 07cc231142f5810c70818007dcd720271b1c0248 (patch) | |
tree | 6527f2b82c1a279b1bb985a4fde9651f96a0d352 /test/functional/legacy/wordcount_spec.lua | |
parent | 288f7f8558c331fadcc72e9c7391fff08d42ba36 (diff) | |
download | rneovim-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/wordcount_spec.lua')
-rw-r--r-- | test/functional/legacy/wordcount_spec.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/legacy/wordcount_spec.lua b/test/functional/legacy/wordcount_spec.lua index 0c8bd2cdcc..826743b0ca 100644 --- a/test/functional/legacy/wordcount_spec.lua +++ b/test/functional/legacy/wordcount_spec.lua @@ -4,7 +4,7 @@ local helpers = require('test.functional.helpers')(after_each) local feed, insert, source = helpers.feed, helpers.insert, helpers.source local clear, command = helpers.clear, helpers.command local eq, eval = helpers.eq, helpers.eval -local wait = helpers.wait +local poke_eventloop = helpers.poke_eventloop describe('wordcount', function() before_each(clear) @@ -14,7 +14,7 @@ describe('wordcount', function() insert([=[ RESULT test:]=]) - wait() + poke_eventloop() command('new') source([=[ @@ -127,7 +127,7 @@ describe('wordcount', function() -- -- Start visual mode quickly and select complete buffer. command('0') feed('V2jy<cr>') - wait() + poke_eventloop() command('set stl= ls=1') command('let log=DoRecordWin([3,99,0])') command('let log[1]=g:visual_stat') @@ -144,7 +144,7 @@ describe('wordcount', function() -- Start visual mode quickly and select complete buffer. command('0') feed('v$y<cr>') - wait() + poke_eventloop() command('set stl= ls=1') command('let log=DoRecordWin([3,99,0])') command('let log[1]=g:visual_stat') @@ -161,7 +161,7 @@ describe('wordcount', function() -- Start visual mode quickly and select complete buffer. command('2') feed('0v$y<cr>') - wait() + poke_eventloop() command('set stl= ls=1') command('let log=DoRecordWin([3,99,0])') command('let log[1]=g:visual_stat') |