mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
vim-patch:8.2.0051: command line completion test skipped
Problem: Command line completion test skipped. (Christian Brabandt)
Solution: Invert condition.
731a799bb9
Cherry-pick Test_cmdline_complete_bang() from patch v8.2.0049.
This commit is contained in:
@@ -548,6 +548,13 @@ func Test_cmdline_complete_user_names()
|
|||||||
endif
|
endif
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
func Test_cmdline_complete_bang()
|
||||||
|
if executable('whoami')
|
||||||
|
call feedkeys(":!whoam\<C-A>\<C-B>\"\<CR>", 'tx')
|
||||||
|
call assert_match('^".*\<whoami\>', @:)
|
||||||
|
endif
|
||||||
|
endfunc
|
||||||
|
|
||||||
funct Test_cmdline_complete_languages()
|
funct Test_cmdline_complete_languages()
|
||||||
let lang = substitute(execute('language messages'), '.*"\(.*\)"$', '\1', '')
|
let lang = substitute(execute('language messages'), '.*"\(.*\)"$', '\1', '')
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user