forked from aniani/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 #10299)
This commit is contained in:
@@ -2439,8 +2439,9 @@ endfunc
|
||||
|
||||
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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user