commit f60f67c2de0f3e03309233e6e247313af8fc4018 parent a70997442e0cbc380abf8b82eac3aa18b40b4df1 Author: zeertzjq <zeertzjq@outlook.com> Date: Sun, 21 Sep 2025 09:27:44 +0800 test: fix 'autocompletedelay' test flakiness (#35856) Diffstat:
| M | test/functional/editor/completion_spec.lua | | | 11 | +++++++++++ |
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/test/functional/editor/completion_spec.lua b/test/functional/editor/completion_spec.lua @@ -1523,6 +1523,17 @@ describe('completion', function() {5:-- INSERT --} | ]]) 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>') screen:expect([[ foo |