aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-02-13 19:16:47 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-02-14 10:00:59 -0500
commit147d40f2a0306df7617812ae83f7225a1b86ad1d (patch)
treee6b81724bf14523190dc545b4f1be47a9eb70781 /src/nvim/testdir
parente87c30a1963b59d1f9c27aa99faf26960b12265f (diff)
downloadrneovim-147d40f2a0306df7617812ae83f7225a1b86ad1d.tar.gz
rneovim-147d40f2a0306df7617812ae83f7225a1b86ad1d.tar.bz2
rneovim-147d40f2a0306df7617812ae83f7225a1b86ad1d.zip
vim-patch:8.2.0925: getcompletion() does not return command line arguments
Problem: Getcompletion() does not return command line arguments. Solution: Add the "cmdline" option. (Shougo, closes vim/vim#1140) https://github.com/vim/vim/commit/1f1fd44ef796dd909ff5f3e5288b3fd79294dc71
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_cmdline.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim
index 39f865144a..a66aee5e02 100644
--- a/src/nvim/testdir/test_cmdline.vim
+++ b/src/nvim/testdir/test_cmdline.vim
@@ -442,6 +442,7 @@ func Test_getcompletion()
set tags&
call assert_fails('call getcompletion("", "burp")', 'E475:')
+ call assert_fails('call getcompletion("abc", [])', 'E475:')
endfunc
func Test_shellcmd_completion()