mirror of
https://github.com/neovim/neovim.git
synced 2026-08-29 10:31:48 +00:00
vim-patch:9.1.1681: tests: no test for actually moving cursor with 'acl' (#35452)
Problem: tests: no test for actually moving cursor when menu is not
open with 'autocompletedelay'.
Solution: Use <Up> first in the test. Also remove two unnecessary <Esc>s
in completion timeout test (zeertzjq).
closes: vim/vim#18097
e8b99ff6d5
This commit is contained in:
@@ -1557,8 +1557,24 @@ describe('completion', function()
|
||||
{1:~ }|*5
|
||||
{5:-- INSERT --} |
|
||||
]])
|
||||
feed('<Up>')
|
||||
screen:expect([[
|
||||
foo |
|
||||
foobar |
|
||||
f^oobarbaz |
|
||||
f |
|
||||
{1:~ }|*5
|
||||
{5:-- INSERT --} |
|
||||
]])
|
||||
feed('<Down>')
|
||||
screen:expect_unchanged()
|
||||
screen:expect([[
|
||||
foo |
|
||||
foobar |
|
||||
foobarbaz |
|
||||
f^ |
|
||||
{1:~ }|*5
|
||||
{5:-- INSERT --} |
|
||||
]])
|
||||
|
||||
feed('<esc>')
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user