diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-04-16 09:29:41 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-04-16 10:18:39 +0800 |
commit | d7965293ec18314df284ef53c363b73c2f3c1db8 (patch) | |
tree | e07099845b2da8889f38a6f742ca8901f439782c /test/old/testdir/test_functions.vim | |
parent | 68ca16c376bd8786ffc0c7ce7619b9a0ce5657e8 (diff) | |
download | rneovim-d7965293ec18314df284ef53c363b73c2f3c1db8.tar.gz rneovim-d7965293ec18314df284ef53c363b73c2f3c1db8.tar.bz2 rneovim-d7965293ec18314df284ef53c363b73c2f3c1db8.zip |
vim-patch:8.2.3786: test fails because of using Vim9 syntax in legacy function
Problem: Test fails because of using Vim9 syntax in legacy function.
Solution: Add "call".
https://github.com/vim/vim/commit/4f16e9de985c5178e9cf15d69facfec6f15a5e09
Add test_nested_function.vim changes from patches 8.{0.0141,2.1432}.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'test/old/testdir/test_functions.vim')
-rw-r--r-- | test/old/testdir/test_functions.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/old/testdir/test_functions.vim b/test/old/testdir/test_functions.vim index fb53248d5a..7d3d74caad 100644 --- a/test/old/testdir/test_functions.vim +++ b/test/old/testdir/test_functions.vim @@ -2024,7 +2024,7 @@ func Test_call() let Time = 'localtime' call Time() END - CheckScriptFailure(lines, 'E1085:') + call CheckScriptFailure(lines, 'E1085:') endfunc func Test_char2nr() |