aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_termcodes.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-04-27 20:30:52 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-04-29 15:51:04 +0800
commit1d97781dc53416072387b1d71aeaf11caecd8cf0 (patch)
tree200ad03452022428b9932bbb69a7365f3da765b2 /src/nvim/testdir/test_termcodes.vim
parentbf065d9bb654263e59949a68d0b90fd196ab1ab8 (diff)
downloadrneovim-1d97781dc53416072387b1d71aeaf11caecd8cf0.tar.gz
rneovim-1d97781dc53416072387b1d71aeaf11caecd8cf0.tar.bz2
rneovim-1d97781dc53416072387b1d71aeaf11caecd8cf0.zip
vim-patch:8.2.4833: failure of mapping not checked for
Problem: Failure of mapping not checked for. Solution: Check return value of ins_typebuf(). (closes vim/vim#10299) https://github.com/vim/vim/commit/12e21e387b5bbc928097abf1c189b7dc665838fc
Diffstat (limited to 'src/nvim/testdir/test_termcodes.vim')
-rw-r--r--src/nvim/testdir/test_termcodes.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_termcodes.vim b/src/nvim/testdir/test_termcodes.vim
index ecd408264d..987889f33c 100644
--- a/src/nvim/testdir/test_termcodes.vim
+++ b/src/nvim/testdir/test_termcodes.vim
@@ -1,8 +1,9 @@
func Test_simplify_ctrl_at()
" feeding unsimplified CTRL-@ should still trigger i_CTRL-@
- call feedkeys("ifoo\<Esc>A\<*C-@>", 'xt')
- call assert_equal('foofoo', getline(1))
+ call feedkeys("ifoo\<Esc>A\<*C-@>x", 'xt')
+ call assert_equal('foofo', getline(1))
+ bw!
endfunc