summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_vim9_cmd.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-12-25 19:25:45 +0100
committerBram Moolenaar <Bram@vim.org>2020-12-25 19:25:45 +0100
commit6e2c2c50bada4e3f5c7234902c0bdd64f66619ac (patch)
treefe876fd433cd8c47572574d05fdeb28eb375a653 /src/testdir/test_vim9_cmd.vim
parent56ce9ea3ea46529cac2fdf3151abfa0e1ae49bad (diff)
patch 8.2.2216: Vim9: range with missing colon can be hard to spotv8.2.2216
Problem: Vim9: range with missing colon can be hard to spot. Solution: Include the start of the range in the error. (closes #7543)
Diffstat (limited to 'src/testdir/test_vim9_cmd.vim')
-rw-r--r--src/testdir/test_vim9_cmd.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_vim9_cmd.vim b/src/testdir/test_vim9_cmd.vim
index 9790789a07..a55ba64031 100644
--- a/src/testdir/test_vim9_cmd.vim
+++ b/src/testdir/test_vim9_cmd.vim
@@ -549,7 +549,7 @@ def Test_modifier_silent_unsilent()
enddef
def Test_range_after_command_modifier()
- CheckScriptFailure(['vim9script', 'silent keepjump 1d _'], 'E1050:', 2)
+ CheckScriptFailure(['vim9script', 'silent keepjump 1d _'], 'E1050: Colon required before a range: 1d _', 2)
new
setline(1, 'xxx')
CheckScriptSuccess(['vim9script', 'silent keepjump :1d _'])