aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-12-24 22:00:23 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-12-25 10:17:00 -0500
commit0813bb021aa64a1479990be9e17196b32d9d50f2 (patch)
treebd6fa6058cecc15ce4f1954d07c11241e5717dec /src
parent8c8cc35926f265bf4f048b83fd130bef3932851e (diff)
downloadrneovim-0813bb021aa64a1479990be9e17196b32d9d50f2.tar.gz
rneovim-0813bb021aa64a1479990be9e17196b32d9d50f2.tar.bz2
rneovim-0813bb021aa64a1479990be9e17196b32d9d50f2.zip
vim-patch:8.2.0051: command line completion test skipped
Problem: Command line completion test skipped. (Christian Brabandt) Solution: Invert condition. https://github.com/vim/vim/commit/731a799bb926c6f424dbfb63430cf631ca7e132a Cherry-pick Test_cmdline_complete_bang() from patch v8.2.0049.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_cmdline.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim
index 81f653c393..6d3c6589d3 100644
--- a/src/nvim/testdir/test_cmdline.vim
+++ b/src/nvim/testdir/test_cmdline.vim
@@ -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', '')