test: fix 'autocompletedelay' test flakiness (#35856)

This commit is contained in:
zeertzjq
2025-09-21 09:27:44 +08:00
committed by GitHub
parent a70997442e
commit f60f67c2de

View File

@@ -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 |