aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ex_cmds/excmd_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-07 13:47:46 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-08-07 14:38:57 +0800
commitd0686540f56154e269e11eb0cc6cd3eb759f2b77 (patch)
treefc84d19f4d10405415740835010eb79eb7e03c59 /test/functional/ex_cmds/excmd_spec.lua
parent3b7fc5f793e9e9926237f2d6e744b4f6d4ccf12f (diff)
downloadrneovim-d0686540f56154e269e11eb0cc6cd3eb759f2b77.tar.gz
rneovim-d0686540f56154e269e11eb0cc6cd3eb759f2b77.tar.bz2
rneovim-d0686540f56154e269e11eb0cc6cd3eb759f2b77.zip
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. https://github.com/vim/vim/commit/8930caaa1a283092aca81fdbc3fcf15c7eadb197 Remove duplicate test file 062_tab_pages_spec.lua
Diffstat (limited to 'test/functional/ex_cmds/excmd_spec.lua')
-rw-r--r--test/functional/ex_cmds/excmd_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/ex_cmds/excmd_spec.lua b/test/functional/ex_cmds/excmd_spec.lua
index 33794eb50d..e243f3c524 100644
--- a/test/functional/ex_cmds/excmd_spec.lua
+++ b/test/functional/ex_cmds/excmd_spec.lua
@@ -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'))