patch 8.2.2608: character input not fully tested

Problem:    Character input not fully tested.
Solution:   Add more tests. (Yegappan Lakshmanan, closes #7963)
This commit is contained in:
Bram Moolenaar
2021-03-15 18:36:20 +01:00
parent 02b4d9b18a
commit f4fcedc59d
6 changed files with 59 additions and 0 deletions

View File

@ -709,4 +709,14 @@ func Test_insert_small_delete()
bwipe!
endfunc
" Record in insert mode using CTRL-O
func Test_record_in_insert_mode()
new
let @r = ''
call setline(1, ['foo'])
call feedkeys("i\<C-O>qrbaz\<C-O>q", 'xt')
call assert_equal('baz', @r)
bwipe!
endfunc
" vim: shiftwidth=2 sts=2 expandtab