neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 905bef7bd9cd5d1751fc09aad3c6fb78e2c60ff8
parent 1f438b23381cf79e9c6fbdfa69dfeff9ecbce3e6
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Thu, 27 Oct 2022 08:34:01 +0800

vim-patch:8.2.2727: function test fails

Problem:    Function test fails.
Solution:   Adjust expected error number.

https://github.com/vim/vim/commit/e9b8b78e046b40b877c999432c4698edb3413d5d

Cherry-pick colons from patch 8.2.1593.

Co-authored-by: Bram Moolenaar <Bram@vim.org>

Diffstat:
Msrc/nvim/testdir/test_user_func.vim | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/nvim/testdir/test_user_func.vim b/src/nvim/testdir/test_user_func.vim @@ -149,8 +149,8 @@ func Test_default_arg() call assert_equal(res.optional, 2) call assert_equal(res['0'], 1) - call assert_fails("call MakeBadFunc()", 'E989') - call assert_fails("fu F(a=1 ,) | endf", 'E475') + call assert_fails("call MakeBadFunc()", 'E989:') + call assert_fails("fu F(a=1 ,) | endf", 'E1068:') " Since neovim does not have v:none, the ability to use the default " argument with the intermediate argument set to v:none has been omitted.