Mercurial > vim
changeset 26107:012faa52874b v8.2.3586
patch 8.2.3586: command completion test fails
Commit: https://github.com/vim/vim/commit/326e7da609a1b115b0ed535e89e970afebe99e35
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Nov 12 16:06:03 2021 +0000
patch 8.2.3586: command completion test fails
Problem: Command completion test fails.
Solution: Add new argument to expected output
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 12 Nov 2021 17:15:04 +0100 |
parents | 8981c7cbea9f |
children | 0cb9d0a3a9b2 |
files | src/testdir/test_usercommands.vim src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_usercommands.vim +++ b/src/testdir/test_usercommands.vim @@ -319,10 +319,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 ?', @:)