mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
vim-patch:8.2.3856: Vim9: not enough tests
Problem: Vim9: not enough tests.
Solution: Run more expression tests also with Vim9. Fix an uncovered
problem.
fea43e44c0
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -34,6 +34,14 @@ func CheckScriptSuccess(lines)
|
|||||||
endtry
|
endtry
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
func CheckDefAndScriptSuccess(lines)
|
||||||
|
return
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func CheckDefAndScriptFailure(lines, error, lnum = -3)
|
||||||
|
return
|
||||||
|
endfunc
|
||||||
|
|
||||||
func CheckDefExecAndScriptFailure(lines, error, lnum = -3)
|
func CheckDefExecAndScriptFailure(lines, error, lnum = -3)
|
||||||
return
|
return
|
||||||
endfunc
|
endfunc
|
||||||
@@ -85,6 +93,14 @@ func CheckTransLegacySuccess(lines)
|
|||||||
call CheckLegacySuccess(legacylines)
|
call CheckLegacySuccess(legacylines)
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
func CheckTransDefSuccess(lines)
|
||||||
|
return
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
func CheckTransVim9Success(lines)
|
||||||
|
return
|
||||||
|
endfunc
|
||||||
|
|
||||||
" Execute "lines" in a legacy function
|
" Execute "lines" in a legacy function
|
||||||
" Use 'VAR' for a declaration.
|
" Use 'VAR' for a declaration.
|
||||||
" Use 'LET' for an assignment
|
" Use 'LET' for an assignment
|
||||||
|
Reference in New Issue
Block a user