diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-08-17 11:08:21 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-08-17 11:21:10 +0800 |
commit | 3117dc70f1e60569f5c3cc0eee5f5005081722b5 (patch) | |
tree | 292843cc0ce14205b328fec6b75c1ad9a0ad7c9b /test | |
parent | 90ad3c8f17d4d0be4149ea28c49d1e6980640d38 (diff) | |
download | rneovim-3117dc70f1e60569f5c3cc0eee5f5005081722b5.tar.gz rneovim-3117dc70f1e60569f5c3cc0eee5f5005081722b5.tar.bz2 rneovim-3117dc70f1e60569f5c3cc0eee5f5005081722b5.zip |
vim-patch:1b884a005398
Update runtime files.
https://github.com/vim/vim/commit/1b884a0053982335f644eec6c71027706bf3c522
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/old/testdir/vim9.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/old/testdir/vim9.vim b/test/old/testdir/vim9.vim index 1b436d7b3c..825f01c9d6 100644 --- a/test/old/testdir/vim9.vim +++ b/test/old/testdir/vim9.vim @@ -88,7 +88,7 @@ endfunc " Execute "lines" in a legacy function, translated as in " CheckLegacyAndVim9Success() func CheckTransLegacySuccess(lines) - let legacylines = a:lines->deepcopy()->map({_, v -> + let legacylines = a:lines->mapnew({_, v -> \ v->substitute('\<VAR\>', 'let', 'g') \ ->substitute('\<LET\>', 'let', 'g') \ ->substitute('\<LSTART\>', '{', 'g') @@ -131,7 +131,7 @@ func CheckLegacyAndVim9Failure(lines, error) let legacyError = a:error[0] endif - let legacylines = a:lines->deepcopy()->map({_, v -> + let legacylines = a:lines->mapnew({_, v -> \ v->substitute('\<VAR\>', 'let', 'g') \ ->substitute('\<LET\>', 'let', 'g') \ ->substitute('#"', ' "', 'g') |