aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/popupmenu_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-04-04 14:53:47 +0800
committerGitHub <noreply@github.com>2022-04-04 14:53:47 +0800
commitc41e75039f5516a0626d0da69cb15bac7e7fe6de (patch)
tree2fd42ccbf3afb08e1b05e2c65739ac549cf846e5 /test/functional/ui/popupmenu_spec.lua
parentdaa8ac051d9e641cb708af5ae2ffd571f5abbc44 (diff)
downloadrneovim-c41e75039f5516a0626d0da69cb15bac7e7fe6de.tar.gz
rneovim-c41e75039f5516a0626d0da69cb15bac7e7fe6de.tar.bz2
rneovim-c41e75039f5516a0626d0da69cb15bac7e7fe6de.zip
test: move completion :stopinsert test to completion_spec.lua (#17992)
Diffstat (limited to 'test/functional/ui/popupmenu_spec.lua')
-rw-r--r--test/functional/ui/popupmenu_spec.lua41
1 files changed, 0 insertions, 41 deletions
diff --git a/test/functional/ui/popupmenu_spec.lua b/test/functional/ui/popupmenu_spec.lua
index d521e3cd25..07c6c5b046 100644
--- a/test/functional/ui/popupmenu_spec.lua
+++ b/test/functional/ui/popupmenu_spec.lua
@@ -2321,47 +2321,6 @@ describe('builtin popupmenu', function()
assert_alive()
end)
- it('is closed by :stopinsert from timer #12976', function()
- screen:try_resize(32,14)
- command([[call setline(1, ['hello', 'hullo', 'heeee', ''])]])
- feed('Gah<c-x><c-n>')
- screen:expect([[
- hello |
- hullo |
- heeee |
- hello^ |
- {s:hello }{1: }|
- {n:hullo }{1: }|
- {n:heeee }{1: }|
- {1:~ }|
- {1:~ }|
- {1:~ }|
- {1:~ }|
- {1:~ }|
- {1:~ }|
- {2:-- }{5:match 1 of 3} |
- ]])
- command([[call timer_start(100, { -> execute('stopinsert') })]])
- helpers.sleep(200)
- feed('k') -- cursor should move up in Normal mode
- screen:expect([[
- hello |
- hullo |
- heee^e |
- hello |
- {1:~ }|
- {1:~ }|
- {1:~ }|
- {1:~ }|
- {1:~ }|
- {1:~ }|
- {1:~ }|
- {1:~ }|
- {1:~ }|
- |
- ]])
- end)
-
it('truncates double-width character correctly when there is no scrollbar', function()
screen:try_resize(32,8)
command('set completeopt+=menuone,noselect')