Mercurial > vim
view src/testdir/test_feedkeys.vim @ 25403:9203b28ab453 v8.2.3238
patch 8.2.3238: Vim9: error message does not indicate the location
Commit: https://github.com/vim/vim/commit/d47c39775b8d381005751b7b20da56412dafb5e4
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 28 20:52:13 2021 +0200
patch 8.2.3238: Vim9: error message does not indicate the location
Problem: Vim9: error message does not indicate the location.
Solution: Add the relevant text. (issue https://github.com/vim/vim/issues/8634)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 28 Jul 2021 21:00:04 +0200 |
parents | 08940efa6b4e |
children | e06cbcf4b94b |
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 " vim: shiftwidth=2 sts=2 expandtab