aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ex_cmds
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-11-12 09:57:29 +0800
committerGitHub <noreply@github.com>2022-11-12 09:57:29 +0800
commit2425fe2dc5e5985779912319433ddf914a20dd6a (patch)
tree94f06238405f0195241f2264dcb316c7a860acab /test/functional/ex_cmds
parenteee956051637a5dff02ba6c6083fbffc87c0c96e (diff)
downloadrneovim-2425fe2dc5e5985779912319433ddf914a20dd6a.tar.gz
rneovim-2425fe2dc5e5985779912319433ddf914a20dd6a.tar.bz2
rneovim-2425fe2dc5e5985779912319433ddf914a20dd6a.zip
vim-patch:8.2.2207: illegal memory access if popup menu items are changed (#21028)
Problem: Illegal memory access if popup menu items are changed while the menu is visible. (Tomáš Janoušek) Solution: Make a copy of the text. (closes vim/vim#7537) https://github.com/vim/vim/commit/38455a921395a56690790c8c1d28c1c43ca04c8a Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'test/functional/ex_cmds')
-rw-r--r--test/functional/ex_cmds/map_spec.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/ex_cmds/map_spec.lua b/test/functional/ex_cmds/map_spec.lua
index c6bdd017bd..dd9f7027cf 100644
--- a/test/functional/ex_cmds/map_spec.lua
+++ b/test/functional/ex_cmds/map_spec.lua
@@ -161,6 +161,7 @@ describe('Screen', function()
]])
end)
+ -- oldtest: Test_expr_map_restore_cursor()
it('cursor is restored after :map <expr> which redraws statusline vim-patch:8.1.2336', function()
exec([[
call setline(1, ['one', 'two', 'three'])
@@ -246,6 +247,7 @@ describe('Screen', function()
]])
end)
+ -- oldtest: Test_map_listing()
it('listing mappings clears command line vim-patch:8.2.4401', function()
screen:try_resize(40, 5)
command('nmap a b')