Mercurial > vim
changeset 13722:a86677cf8446 v8.0.1733
patch 8.0.1733: incomplete testing for completion fix
commit https://github.com/vim/vim/commit/bad0ce7b26be5eed8524347018f4c835b212f8d1
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Apr 17 23:31:05 2018 +0200
patch 8.0.1733: incomplete testing for completion fix
Problem: Incomplete testing for completion fix. (Lifepillar)
Solution: Add a test with CTRL-P.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 17 Apr 2018 23:45:07 +0200 |
parents | dd8a80b006a8 |
children | 81a4e59f7f83 |
files | src/testdir/test_popup.vim src/version.c |
diffstat | 2 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_popup.vim +++ b/src/testdir/test_popup.vim @@ -824,4 +824,14 @@ func Test_popup_complete_backwards() bwipe! endfunc +func Test_popup_complete_backwards_ctrl_p() + new + call setline(1, ['Post', 'Port', 'Po']) + let expected=['Post', 'Port', 'Port'] + call cursor(3,2) + call feedkeys("A\<C-P>\<C-N>rt\<cr>", 'tx') + call assert_equal(expected, getline(1,'$')) + bwipe! +endfunc + " vim: shiftwidth=2 sts=2 expandtab