# HG changeset patch # User Christian Brabandt # Date 1524001507 -7200 # Node ID a86677cf8446218059a75afd816f039825338306 # Parent dd8a80b006a84b7b4e35580dabc6f38402bc8c56 patch 8.0.1733: incomplete testing for completion fix commit https://github.com/vim/vim/commit/bad0ce7b26be5eed8524347018f4c835b212f8d1 Author: Bram Moolenaar 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. diff --git a/src/testdir/test_popup.vim b/src/testdir/test_popup.vim --- 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\\rt\", '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 --- 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,