0
0
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:
Bram Moolenaar
2022-02-12 20:34:50 +00:00
parent a749a42ed2
commit 62b191c387
6 changed files with 15 additions and 12 deletions

View File

@@ -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:')