diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-02-12 20:34:50 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-12 20:34:50 +0000 |
commit | 62b191c38758c835a577ef091a803b6dd4cd4f49 (patch) | |
tree | 1d7fdccfcddfd140e70de5ff90e7f07451c77f3a /src/testdir/test_expr.vim | |
parent | a749a42ed25534c88c636e5ab6603f1f97b857a4 (diff) |
patch 8.2.4361: Vim9: some tests failv8.2.4361
Problem: Vim9: some tests fail.
Solution: Fix the tests, mostly by removing "s:".
Diffstat (limited to 'src/testdir/test_expr.vim')
-rw-r--r-- | src/testdir/test_expr.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testdir/test_expr.vim b/src/testdir/test_expr.vim index 2189a0e8c6..d45b998c40 100644 --- a/src/testdir/test_expr.vim +++ b/src/testdir/test_expr.vim @@ -612,7 +612,8 @@ func Test_function_with_funcref() call assert_equal(4, Ref('text')) END call v9.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 v9.CheckTransVim9Success(lines) endfunc |