forked from aniani/vim
patch 8.2.3586: command completion test fails
Problem: Command completion test fails. Solution: Add new argument to expected output
This commit is contained in:
@@ -319,10 +319,10 @@ endfunc
|
|||||||
|
|
||||||
func Test_CmdCompletion()
|
func Test_CmdCompletion()
|
||||||
call feedkeys(":com -\<C-A>\<C-B>\"\<CR>", 'tx')
|
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 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 feedkeys(":com -nargs=\<C-A>\<C-B>\"\<CR>", 'tx')
|
||||||
call assert_equal('"com -nargs=* + 0 1 ?', @:)
|
call assert_equal('"com -nargs=* + 0 1 ?', @:)
|
||||||
|
@@ -757,6 +757,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3586,
|
||||||
/**/
|
/**/
|
||||||
3585,
|
3585,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user