]> granicus.if.org Git - vim/commitdiff
patch 8.2.3586: command completion test fails v8.2.3586
authorBram Moolenaar <Bram@vim.org>
Fri, 12 Nov 2021 16:06:03 +0000 (16:06 +0000)
committerBram Moolenaar <Bram@vim.org>
Fri, 12 Nov 2021 16:06:03 +0000 (16:06 +0000)
Problem:    Command completion test fails.
Solution:   Add new argument to expected output

src/testdir/test_usercommands.vim
src/version.c

index 48bfd5a2521f066831b86e66cad11f45ecd3260a..6707a03964d9ec5fe246ebe9cbb47ff5d3ce663f 100644 (file)
@@ -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 ?', @:)
index 39d1b8ab76006f88e332bbd5d2598d18889de4c2..040fbb6492d795a4de4381085a774bba7cce086a 100644 (file)
@@ -757,6 +757,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3586,
 /**/
     3585,
 /**/