Mercurial > vim
view src/testdir/test_feedkeys.vim @ 12001:fecb0ff6e8cf v8.0.0881
patch 8.0.0881: win32.mak no longer included in Windows SDK
commit https://github.com/vim/vim/commit/e16b00a1582dbff7b76b0631d935531059cf7b47
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 6 17:38:06 2017 +0200
patch 8.0.0881: win32.mak no longer included in Windows SDK
Problem: win32.mak no longer included in Windows SDK.
Solution: Do not include win32.mak. (Ken Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 06 Aug 2017 17:45:03 +0200 |
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