diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-20 18:41:15 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-21 08:43:07 -0400 |
commit | 7cffc87868db846d9306bbc8f055630967c72c21 (patch) | |
tree | d7daed020d8e8b3c0324c93404766bc55d5fd6f6 | |
parent | ca116625153d806bd192f0f533346cc9536904a9 (diff) | |
download | rneovim-7cffc87868db846d9306bbc8f055630967c72c21.tar.gz rneovim-7cffc87868db846d9306bbc8f055630967c72c21.tar.bz2 rneovim-7cffc87868db846d9306bbc8f055630967c72c21.zip |
vim-patch:8.0.1733: incomplete testing for completion fix
Problem: Incomplete testing for completion fix. (Lifepillar)
Solution: Add a test with CTRL-P.
https://github.com/vim/vim/commit/bad0ce7b26be5eed8524347018f4c835b212f8d1
-rw-r--r-- | src/nvim/testdir/test_popup.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_popup.vim b/src/nvim/testdir/test_popup.vim index efef91789d..4806bb1855 100644 --- a/src/nvim/testdir/test_popup.vim +++ b/src/nvim/testdir/test_popup.vim @@ -779,6 +779,16 @@ 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 + fun! Test_complete_o_tab() throw 'skipped: Nvim does not support test_override()' let s:o_char_pressed = 0 |