diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-04-15 16:36:19 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-04-15 17:09:41 +0800 |
commit | 700152fbf8e035e400e4bd86a2f629179b27e2ef (patch) | |
tree | fc60cb6e155daf0b8f694734564a3b4a825cead4 /test | |
parent | 0a61cb60a633f05e3f05f8d5dae241910a92ee1f (diff) | |
download | rneovim-700152fbf8e035e400e4bd86a2f629179b27e2ef.tar.gz rneovim-700152fbf8e035e400e4bd86a2f629179b27e2ef.tar.bz2 rneovim-700152fbf8e035e400e4bd86a2f629179b27e2ef.zip |
vim-patch:8.2.1378: cannot put space between function name and paren
Problem: Cannot put space between function name and paren.
Solution: Allow this for backwards compatibility.
https://github.com/vim/vim/commit/bbd3e3c357487f7a5bdc704a819f63a7dd0dd66e
This fixes a regression from patch 8.2.1365, which isn't ported yet.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/old/testdir/test_expr.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/old/testdir/test_expr.vim b/test/old/testdir/test_expr.vim index 1a00a85b0f..a860cf2970 100644 --- a/test/old/testdir/test_expr.vim +++ b/test/old/testdir/test_expr.vim @@ -717,6 +717,11 @@ func Test_expr_eval_error() call assert_fails("let v = -{}", 'E728:') endfunc +func Test_white_in_function_call() + let text = substitute ( 'some text' , 't' , 'T' , 'g' ) + call assert_equal('some TexT', text) +endfunc + " Test for float value comparison func Test_float_compare() CheckFeature float |