diff options
| author | James McCoy <jamessan@jamessan.com> | 2017-07-26 15:36:07 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-26 15:36:07 -0400 |
| commit | a2dc33ba19e339583c920e21cc1b4b694012cc2f (patch) | |
| tree | b642bc87ec0ee507649ac124b672ca069ca1ca92 /src/nvim/testdir | |
| parent | 0d24af8112b41f0ff201e35135ed7bcef9fc8415 (diff) | |
| parent | 811c45163c5613981c8e5abdca40e28c1b61d076 (diff) | |
| download | rneovim-a2dc33ba19e339583c920e21cc1b4b694012cc2f.tar.gz rneovim-a2dc33ba19e339583c920e21cc1b4b694012cc2f.tar.bz2 rneovim-a2dc33ba19e339583c920e21cc1b4b694012cc2f.zip | |
Merge pull request #7069 from jbradaric/vim-8.0.0034
vim-patch:8.0.0034
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_cmdline.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim index 0c9d1297d6..f7a6aba6e7 100644 --- a/src/nvim/testdir/test_cmdline.vim +++ b/src/nvim/testdir/test_cmdline.vim @@ -130,6 +130,11 @@ func Test_getcompletion() let l = getcompletion('dark', 'highlight') call assert_equal([], l) + let l = getcompletion('', 'messages') + call assert_true(index(l, 'clear') >= 0) + let l = getcompletion('not', 'messages') + call assert_equal([], l) + if has('cscope') let l = getcompletion('', 'cscope') let cmds = ['add', 'find', 'help', 'kill', 'reset', 'show'] |