mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 07:28:34 +00:00
vim-patch:8.2.3586: command completion test fails
Problem: Command completion test fails.
Solution: Add new argument to expected output
326e7da609
This commit is contained in:
@@ -269,10 +269,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 ?', @:)
|
||||||
|
Reference in New Issue
Block a user