Mercurial > vim
view src/testdir/test_feedkeys.vim @ 11083:ae86651164d7 v8.0.0430
patch 8.0.0430: options test fails or hangs on MS-Windows
commit https://github.com/vim/vim/commit/bb962262eb6b18d93161d7506317d215ae80bfe5
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 8 00:01:35 2017 +0100
patch 8.0.0430: options test fails or hangs on MS-Windows
Problem: Options test fails or hangs on MS-Windows.
Solution: Run it separately instead of part of test_alot. Use "-S" instead
of "-u" to run the script. Fix failures.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 08 Mar 2017 00:15:04 +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