mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.2.0318: Vim9: types not sufficiently tested
Problem: Vim9: types not sufficiently tested. Solution: Add tests with more types.
This commit is contained in:
@@ -861,4 +861,8 @@ func Test_expr_fails()
|
||||
call CheckDefExecFailure("CallMe ('yes')", 'E492:')
|
||||
call CheckDefFailure("CallMe2('yes','no')", 'E1069:')
|
||||
call CheckDefFailure("CallMe2('yes' , 'no')", 'E1068:')
|
||||
|
||||
call CheckDefFailure("v:nosuch += 3", 'E1001:')
|
||||
call CheckDefFailure("let v:version = 3", 'E1064:')
|
||||
call CheckDefFailure("let asdf = v:nosuch", 'E1001:')
|
||||
endfunc
|
||||
|
Reference in New Issue
Block a user