Skip to content

Commit bad0ce7

Browse files
committed
patch 8.0.1733: incomplete testing for completion fix
Problem: Incomplete testing for completion fix. (Lifepillar) Solution: Add a test with CTRL-P.
1 parent a997b45 commit bad0ce7

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/testdir/test_popup.vim

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,4 +824,14 @@ func Test_popup_complete_backwards()
824824
bwipe!
825825
endfunc
826826

827+
func Test_popup_complete_backwards_ctrl_p()
828+
new
829+
call setline(1, ['Post', 'Port', 'Po'])
830+
let expected=['Post', 'Port', 'Port']
831+
call cursor(3,2)
832+
call feedkeys("A\<C-P>\<C-N>rt\<cr>", 'tx')
833+
call assert_equal(expected, getline(1,'$'))
834+
bwipe!
835+
endfunc
836+
827837
" vim: shiftwidth=2 sts=2 expandtab

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,8 @@ static char *(features[]) =
762762

763763
static int included_patches[] =
764764
{ /* Add new patch number below this line */
765+
/**/
766+
1733,
765767
/**/
766768
1732,
767769
/**/

0 commit comments

Comments
 (0)