Patch 8.2.3586

7 views
Skip to first unread message

Bram Moolenaar

unread,
Nov 12, 2021, 11:06:37 AM11/12/21
to vim...@googlegroups.com

Patch 8.2.3586 (after 8.2.3584)
Problem: Command completion test fails.
Solution: Add new argument to expected output
Files: src/testdir/test_usercommands.vim


*** ../vim-8.2.3585/src/testdir/test_usercommands.vim 2021-09-12 19:57:56.821929392 +0100
--- src/testdir/test_usercommands.vim 2021-11-12 16:04:48.801360979 +0000
***************
*** 319,328 ****

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 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 feedkeys(":com -nargs=\<C-A>\<C-B>\"\<CR>", 'tx')
call assert_equal('"com -nargs=* + 0 1 ?', @:)
--- 319,328 ----

func Test_CmdCompletion()
call feedkeys(":com -\<C-A>\<C-B>\"\<CR>", 'tx')
! 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 keepscript nargs range register', @:)

call feedkeys(":com -nargs=\<C-A>\<C-B>\"\<CR>", 'tx')
call assert_equal('"com -nargs=* + 0 1 ?', @:)
*** ../vim-8.2.3585/src/version.c 2021-11-12 16:01:11.948325522 +0000
--- src/version.c 2021-11-12 16:05:45.294831051 +0000
***************
*** 759,760 ****
--- 759,762 ----
{ /* Add new patch number below this line */
+ /**/
+ 3586,
/**/

--
[clop clop]
GUARD #1: Halt! Who goes there?
ARTHUR: It is I, Arthur, son of Uther Pendragon, from the castle of
Camelot. King of the Britons, defeator of the Saxons, sovereign of
all England!
GUARD #1: Pull the other one!
The Quest for the Holy Grail (Monty Python)

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages