mirror of
https://github.com/vim/vim.git
synced 2025-10-29 09:37:35 -04:00
patch 8.2.4361: Vim9: some tests fail
Problem: Vim9: some tests fail. Solution: Fix the tests, mostly by removing "s:".
This commit is contained in:
@@ -2798,7 +2798,7 @@ func Test_builtin_check()
|
||||
call assert_fails('let l:.trim = {x -> " " .. x}', 'E704:')
|
||||
let lines =<< trim END
|
||||
vim9script
|
||||
var s:trim = (x) => " " .. x
|
||||
var trim = (x) => " " .. x
|
||||
END
|
||||
call v9.CheckScriptFailure(lines, 'E704:')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user