Mercurial > vim
view src/testdir/test_feedkeys.vim @ 9988:cafe247c949a v7.4.2267
commit https://github.com/vim/vim/commit/44ca54aeb9a0eca41aea203786e33d82e69d0615
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 27 15:41:32 2016 +0200
patch 7.4.2267
Problem: Build fails on MS-Windows.
Solution: Add define to get isinf().
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 27 Aug 2016 15:45:05 +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