Mercurial > vim
view src/testdir/test_feedkeys.vim @ 17113:18ec0b92f431 v8.1.1556
patch 8.1.1556: command for failing screenshot does not include directory
commit https://github.com/vim/vim/commit/8a5c7ef9bbded87abd8c937b16c576ed2ccbb805
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 16 16:14:20 2019 +0200
patch 8.1.1556: command for failing screenshot does not include directory
Problem: The command displayed to show a failing screenshot does not include
the "testdir" directory.
Solution: Prefix the directory name so that it can be copy-pasted.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 Jun 2019 16:15:04 +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