mirror of
https://github.com/neovim/neovim.git
synced 2026-04-28 18:24:13 +00:00
vim-patch:8.2.1280: Ex command error cannot contain an argument
Problem: Ex command error cannot contain an argument.
Solution: Add ex_errmsg() and translate earlier. Use e_trailing_arg where
possible.
8930caaa1a
Remove duplicate test file 062_tab_pages_spec.lua
This commit is contained in:
@@ -16,7 +16,7 @@ describe('Ex cmds', function()
|
||||
command(':echo expand("#<9999999999999999999999999999999999999999")')
|
||||
command(':lockvar 9999999999999999999999999999999999999999')
|
||||
command(':winsize 9999999999999999999999999999999999999999 9999999999999999999999999999999999999999')
|
||||
eq('Vim(tabnext):E474: Invalid argument',
|
||||
eq('Vim(tabnext):E475: Invalid argument: 9999999999999999999999999999999999999999',
|
||||
pcall_err(command, ':tabnext 9999999999999999999999999999999999999999'))
|
||||
eq('Vim(Next):E939: Positive count required',
|
||||
pcall_err(command, ':N 9999999999999999999999999999999999999999'))
|
||||
|
||||
Reference in New Issue
Block a user