Mercurial > vim
view src/testdir/test_feedkeys.vim @ 18750:82a28df1e2d5
Update runtime files.
Commit: https://github.com/vim/vim/commit/91359014b359cf816bf943fe2c7d492996263def
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 30 17:57:03 2019 +0100
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Nov 2019 18:00:05 +0100 |
parents | 6b70b9cdebfc |
children | 08940efa6b4e |
line wrap: on
line source
" Test feedkeys() function. func Test_feedkeys_x_with_empty_string() new call feedkeys("ifoo\<Esc>") call assert_equal('', getline('.')) call feedkeys('', 'x') call assert_equal('foo', getline('.')) " check it goes back to normal mode immediately. call feedkeys('i', 'x') call assert_equal('foo', getline('.')) quit! endfunc