diff options
| author | Bram Moolenaar <Bram@vim.org> | 2016-10-15 15:39:39 +0200 |
|---|---|---|
| committer | Bram Moolenaar <Bram@vim.org> | 2016-10-15 15:39:39 +0200 |
| commit | 9e507ca8a3e1535e62de4bd86374b0fcd18ef5b8 (patch) | |
| tree | d0b3d306fa30c4ad65d2f5e266488dee43644167 /src/testdir | |
| parent | a6c27ee6db2c328e0ab0e6d143e2a295a0bb9c9a (diff) | |
| download | vim-git-9e507ca8a3e1535e62de4bd86374b0fcd18ef5b8.tar.gz | |
patch 8.0.0034v8.0.0034
Problem: No completion for ":messages".
Solution: Complete "clear" argument. (Hirohito Higashi)
Diffstat (limited to 'src/testdir')
| -rw-r--r-- | src/testdir/test_cmdline.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim index 4bacf5721..3718087eb 100644 --- a/src/testdir/test_cmdline.vim +++ b/src/testdir/test_cmdline.vim @@ -129,6 +129,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'] |
