mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
vim-patch:8.2.2727: function test fails
Problem: Function test fails.
Solution: Adjust expected error number.
e9b8b78e04
Cherry-pick colons from patch 8.2.1593.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user