forked from aniani/vim
patch 8.2.4657: errors for functions are sometimes hard to read
Problem: Errors for functions are sometimes hard to read. Solution: Use printable_func_name() in more places.
This commit is contained in:
@@ -4010,7 +4010,7 @@ func Test_expr_fails()
|
||||
call v9.CheckDefFailure(["echo len('asdf'"], 'E110:', 2)
|
||||
call v9.CheckScriptFailure(['vim9script', "echo len('asdf'"], 'E116:', 2)
|
||||
|
||||
call v9.CheckDefAndScriptFailure(["echo Func0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789()"], ['E1011:', 'E117:'], 1)
|
||||
call v9.CheckDefAndScriptFailure(["echo Func01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789()"], ['E1011:', 'E117:'], 1)
|
||||
call v9.CheckDefAndScriptFailure(["echo doesnotexist()"], 'E117:', 1)
|
||||
endfunc
|
||||
|
||||
|
Reference in New Issue
Block a user