mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user