diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-06 11:23:36 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-06 11:23:36 +0200 |
commit | bbd3e3c357487f7a5bdc704a819f63a7dd0dd66e (patch) | |
tree | ff477038d7ad597c4ccf0d606c84d8c88ea7d600 /src/testdir/test_vim9_expr.vim | |
parent | b8d732e93e4b70ad992a12f761bc6a1279dd495b (diff) |
patch 8.2.1378: cannot put space between function name and parenv8.2.1378
Problem: Cannot put space between function name and paren.
Solution: Allow this for backwards compatibility.
Diffstat (limited to 'src/testdir/test_vim9_expr.vim')
-rw-r--r-- | src/testdir/test_vim9_expr.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_vim9_expr.vim b/src/testdir/test_vim9_expr.vim index aa705b2168..746983d14b 100644 --- a/src/testdir/test_vim9_expr.vim +++ b/src/testdir/test_vim9_expr.vim @@ -1686,6 +1686,10 @@ def Test_expr7_call() assert_equal([0, 1, 2], --3->range()) call CheckDefFailure(["let x = 'yes'->Echo"], 'E107:') + call CheckScriptFailure([ + "vim9script", + "let x = substitute ('x', 'x', 'x', 'x')" + ], 'E121:') enddef |