Mercurial > vim
view src/testdir/test_feedkeys.vim @ 10235:ad6851687158 v8.0.0016
commit https://github.com/vim/vim/commit/0e77b7691ee7c477facb4c9d9162c8603ada2d84
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Sep 26 22:58:58 2016 +0200
patch 8.0.0016
Problem: Build fails.
Solution: Include missing change.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 26 Sep 2016 23:00: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