mirror of
https://github.com/neovim/neovim.git
synced 2025-09-23 03:28:33 +00:00
test: fix 'autocompletedelay' test flakiness (#35856)
This commit is contained in:
@@ -1523,6 +1523,17 @@ describe('completion', function()
|
|||||||
{5:-- INSERT --} |
|
{5:-- INSERT --} |
|
||||||
]])
|
]])
|
||||||
vim.uv.sleep(500)
|
vim.uv.sleep(500)
|
||||||
|
screen:expect([[
|
||||||
|
foo |
|
||||||
|
foobar |
|
||||||
|
foobarbaz |
|
||||||
|
f^ |
|
||||||
|
{4:foobarbaz }{1: }|
|
||||||
|
{4:foobar }{1: }|
|
||||||
|
{4:foo }{1: }|
|
||||||
|
{1:~ }|*2
|
||||||
|
{5:-- INSERT --} |
|
||||||
|
]])
|
||||||
feed('<C-N>')
|
feed('<C-N>')
|
||||||
screen:expect([[
|
screen:expect([[
|
||||||
foo |
|
foo |
|
||||||
|
Reference in New Issue
Block a user