summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_cmdline.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-01-22 18:38:51 +0000
committerBram Moolenaar <Bram@vim.org>2023-01-22 18:38:51 +0000
commit3770f4c9cde7b5fcd10b6fa2e665cd0b69450fb2 (patch)
tree2537444947feb570db10bbf8472aae375fdc7d16 /src/testdir/test_cmdline.vim
parentf3da4c8427b1b12d7aaffa307ec085ca97ea9ad9 (diff)
patch 9.0.1231: completion of :runtime does not handle {where} argumentv9.0.1231
Problem: Completion of :runtime does not handle {where} argument. Solution: Parse the {where} argument. (closes #11863)
Diffstat (limited to 'src/testdir/test_cmdline.vim')
-rw-r--r--src/testdir/test_cmdline.vim9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim
index 8ed89c6891..23d6b4c92c 100644
--- a/src/testdir/test_cmdline.vim
+++ b/src/testdir/test_cmdline.vim
@@ -553,15 +553,6 @@ func Test_getcompletion()
call assert_true(index(l, '<buffer>') >= 0)
let l = getcompletion('not', 'mapclear')
call assert_equal([], l)
-
- let l = getcompletion('', 'runtime')
- call assert_true(index(l, 'defaults.vim') >= 0)
- let l = getcompletion('synt', 'runtime')
- call assert_true(index(l, 'syntax') >= 0)
- let l = getcompletion('syntax/vi', 'runtime')
- call assert_true(index(l, 'syntax/vim.vim') >= 0)
- let l = getcompletion('notexitsts', 'runtime')
- call assert_equal([], l)
let l = getcompletion('.', 'shellcmd')
call assert_equal(['./', '../'], filter(l, 'v:val =~ "\\./"'))