diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-10-27 08:34:01 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-10-27 08:36:09 +0800 |
commit | 905bef7bd9cd5d1751fc09aad3c6fb78e2c60ff8 (patch) | |
tree | 7622a4d9d73b918660bd9c8e762fd09790fae28e /src | |
parent | 1f438b23381cf79e9c6fbdfa69dfeff9ecbce3e6 (diff) | |
download | rneovim-905bef7bd9cd5d1751fc09aad3c6fb78e2c60ff8.tar.gz rneovim-905bef7bd9cd5d1751fc09aad3c6fb78e2c60ff8.tar.bz2 rneovim-905bef7bd9cd5d1751fc09aad3c6fb78e2c60ff8.zip |
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 (limited to 'src')
-rw-r--r-- | src/nvim/testdir/test_user_func.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_user_func.vim b/src/nvim/testdir/test_user_func.vim index 5041fa9ad4..01bf2e1d0f 100644 --- 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. |