Skip to content

Commit

Permalink
patch 8.0.1733: incomplete testing for completion fix
Browse files Browse the repository at this point in the history
Problem:    Incomplete testing for completion fix. (Lifepillar)
Solution:   Add a test with CTRL-P.
  • Loading branch information
brammool committed Apr 17, 2018
1 parent a997b45 commit bad0ce7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/testdir/test_popup.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1733,
/**/
1732,
/**/
Expand Down

0 comments on commit bad0ce7

Please sign in to comment.