diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-04-17 23:31:05 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-04-17 23:31:05 +0200 |
commit | bad0ce7b26be5eed8524347018f4c835b212f8d1 (patch) | |
tree | d92b36105e2d9f2dbd6b19d7d4b3dcc2e4a18f89 /src | |
parent | a997b45c7e350ea5b378ca0c52ed3d4cc610975c (diff) | |
download | vim-bad0ce7b26be5eed8524347018f4c835b212f8d1.zip |
patch 8.0.1733: incomplete testing for completion fix
Problem: Incomplete testing for completion fix. (Lifepillar)
Solution: Add a test with CTRL-P.
Diffstat (limited to 'src')
-rw-r--r-- | src/testdir/test_popup.vim | 10 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/testdir/test_popup.vim b/src/testdir/test_popup.vim index a2e86d703..ed3198585 100644 --- 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 diff --git a/src/version.c b/src/version.c index 5647b6e4b..2cdd9e313 100644 --- a/src/version.c +++ b/src/version.c @@ -763,6 +763,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1733, +/**/ 1732, /**/ 1731, |