aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-01-21 18:18:18 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-01-21 18:18:18 +0800
commit792381e1a07cccd82d0a8a49c32ffffebe4531b2 (patch)
tree345ce3a03f38aad246ccb218ae74162610a9ed52
parent8e84d1b93043f33d997627f99a181159aa66434d (diff)
downloadrneovim-792381e1a07cccd82d0a8a49c32ffffebe4531b2.tar.gz
rneovim-792381e1a07cccd82d0a8a49c32ffffebe4531b2.tar.bz2
rneovim-792381e1a07cccd82d0a8a49c32ffffebe4531b2.zip
vim-patch:8.2.3586: command completion test fails
Problem: Command completion test fails. Solution: Add new argument to expected output https://github.com/vim/vim/commit/326e7da609a1b115b0ed535e89e970afebe99e35
-rw-r--r--src/nvim/testdir/test_usercommands.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_usercommands.vim b/src/nvim/testdir/test_usercommands.vim
index 29e578ac6d..481959d43d 100644
--- a/src/nvim/testdir/test_usercommands.vim
+++ b/src/nvim/testdir/test_usercommands.vim
@@ -269,10 +269,10 @@ endfunc
func Test_CmdCompletion()
call feedkeys(":com -\<C-A>\<C-B>\"\<CR>", 'tx')
- call assert_equal('"com -addr bang bar buffer complete count nargs range register', @:)
+ call assert_equal('"com -addr bang bar buffer complete count keepscript nargs range register', @:)
call feedkeys(":com -nargs=0 -\<C-A>\<C-B>\"\<CR>", 'tx')
- call assert_equal('"com -nargs=0 -addr bang bar buffer complete count nargs range register', @:)
+ call assert_equal('"com -nargs=0 -addr bang bar buffer complete count keepscript nargs range register', @:)
call feedkeys(":com -nargs=\<C-A>\<C-B>\"\<CR>", 'tx')
call assert_equal('"com -nargs=* + 0 1 ?', @:)