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:
Jan Edmund Lazo
2020-12-24 22:00:23 -05:00
parent 8c8cc35926
commit 0813bb021a

View File

@@ -548,6 +548,13 @@ func Test_cmdline_complete_user_names()
endif
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()
let lang = substitute(execute('language messages'), '.*"\(.*\)"$', '\1', '')