Mercurial > vim
view src/testdir/test_feedkeys.vim @ 8505:abb7353dd6cd
Added tag v7.4.1542 for changeset 0b31cc4b261e167071e37404e7769dbeb217fc4f
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 12 Mar 2016 15:45:04 +0100 |
parents | 675ec6cc9021 |
children | 6b70b9cdebfc |
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('.')) quit! endfunc