mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.0283: Vim9: failing to load script var not tested
Problem: Vim9: failing to load script var not tested. Solution: Add more tests. Fix using s: in old script.
This commit is contained in:
@@ -726,6 +726,9 @@ func Test_expr7_fails()
|
||||
|
||||
call CheckDefFailure("let x = ¬exist", 'E113:')
|
||||
call CheckDefExecFailure("&grepprg = [343]", 'E1051:')
|
||||
|
||||
call CheckDefExecFailure("echo s:doesnt_exist", 'E121:')
|
||||
call CheckDefExecFailure("echo g:doesnt_exist", 'E121:')
|
||||
endfunc
|
||||
|
||||
let g:Funcrefs = [function('add')]
|
||||
|
Reference in New Issue
Block a user