mirror of
https://github.com/neovim/neovim.git
synced 2026-05-02 03:55:00 +00:00
vim-patch:8.2.4361: Vim9: some tests fail
Problem: Vim9: some tests fail.
Solution: Fix the tests, mostly by removing "s:".
62b191c387
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -613,7 +613,8 @@ func Test_function_with_funcref()
|
||||
call assert_equal(4, Ref('text'))
|
||||
END
|
||||
call CheckTransLegacySuccess(lines)
|
||||
" cannot create s: variable in :def function
|
||||
" skip CheckTransDefSuccess(), cannot assign to script variable
|
||||
call map(lines, {k, v -> v =~ 'legacy' ? v : substitute(v, 's:', '', 'g')})
|
||||
call CheckTransVim9Success(lines)
|
||||
endfunc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user