comparison src/testdir/test_vim9_expr.vim @ 19451:b26e96f7c12f v8.2.0283

patch 8.2.0283: Vim9: failing to load script var not tested Commit: https://github.com/vim/vim/commit/fd1823e0b783c31a5022c7a4d31c34d84ff0a744 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 19 20:23:11 2020 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Wed, 19 Feb 2020 20:30:04 +0100
parents f8408ba21982
children 08ef11a81daa
comparison
equal deleted inserted replaced
19450:260de9ec24d0 19451:b26e96f7c12f
724 call CheckDefFailure("let x = @", "E1002:") 724 call CheckDefFailure("let x = @", "E1002:")
725 call CheckDefFailure("let x = @<", "E354:") 725 call CheckDefFailure("let x = @<", "E354:")
726 726
727 call CheckDefFailure("let x = &notexist", 'E113:') 727 call CheckDefFailure("let x = &notexist", 'E113:')
728 call CheckDefExecFailure("&grepprg = [343]", 'E1051:') 728 call CheckDefExecFailure("&grepprg = [343]", 'E1051:')
729
730 call CheckDefExecFailure("echo s:doesnt_exist", 'E121:')
731 call CheckDefExecFailure("echo g:doesnt_exist", 'E121:')
729 endfunc 732 endfunc
730 733
731 let g:Funcrefs = [function('add')] 734 let g:Funcrefs = [function('add')]
732 735
733 func CallMe(arg) 736 func CallMe(arg)