Mercurial > vim
comparison src/testdir/test_usercommands.vim @ 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 | 60e4892dfa45 |
children | 227543e4181f |
comparison
equal
deleted
inserted
replaced
26106:8981c7cbea9f | 26107:012faa52874b |
---|---|
317 return [ "Monday", "Tuesday", "Wednesday", {}] | 317 return [ "Monday", "Tuesday", "Wednesday", {}] |
318 endfunc | 318 endfunc |
319 | 319 |
320 func Test_CmdCompletion() | 320 func Test_CmdCompletion() |
321 call feedkeys(":com -\<C-A>\<C-B>\"\<CR>", 'tx') | 321 call feedkeys(":com -\<C-A>\<C-B>\"\<CR>", 'tx') |
322 call assert_equal('"com -addr bang bar buffer complete count nargs range register', @:) | 322 call assert_equal('"com -addr bang bar buffer complete count keepscript nargs range register', @:) |
323 | 323 |
324 call feedkeys(":com -nargs=0 -\<C-A>\<C-B>\"\<CR>", 'tx') | 324 call feedkeys(":com -nargs=0 -\<C-A>\<C-B>\"\<CR>", 'tx') |
325 call assert_equal('"com -nargs=0 -addr bang bar buffer complete count nargs range register', @:) | 325 call assert_equal('"com -nargs=0 -addr bang bar buffer complete count keepscript nargs range register', @:) |
326 | 326 |
327 call feedkeys(":com -nargs=\<C-A>\<C-B>\"\<CR>", 'tx') | 327 call feedkeys(":com -nargs=\<C-A>\<C-B>\"\<CR>", 'tx') |
328 call assert_equal('"com -nargs=* + 0 1 ?', @:) | 328 call assert_equal('"com -nargs=* + 0 1 ?', @:) |
329 | 329 |
330 call feedkeys(":com -addr=\<C-A>\<C-B>\"\<CR>", 'tx') | 330 call feedkeys(":com -addr=\<C-A>\<C-B>\"\<CR>", 'tx') |