diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2023-02-28 13:30:08 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2023-02-28 13:42:04 +0800 |
| commit | c554e989786be30fa306efcd7e504ba7cb97cb3b (patch) | |
| tree | fabcc96fcee95bc2643412ff7d473d2c240235bc /src/nvim/testdir/vim9.vim | |
| parent | adfa55ba99febaa1eb5ebe1800ec5f94c4b4b664 (diff) | |
| download | rneovim-c554e989786be30fa306efcd7e504ba7cb97cb3b.tar.gz rneovim-c554e989786be30fa306efcd7e504ba7cb97cb3b.tar.bz2 rneovim-c554e989786be30fa306efcd7e504ba7cb97cb3b.zip | |
vim-patch:8.2.2765: Vim9: not all blob operations work
Problem: Vim9: not all blob operations work.
Solution: Run more tests also with Vim9 script and :def functions. Fix what
doesn't work.
https://github.com/vim/vim/commit/0e3ff1919603ee4c4a347fdf761dbdbdeb068015
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'src/nvim/testdir/vim9.vim')
| -rw-r--r-- | src/nvim/testdir/vim9.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/testdir/vim9.vim b/src/nvim/testdir/vim9.vim index 3c0ff2b2dd..e1343d51f1 100644 --- a/src/nvim/testdir/vim9.vim +++ b/src/nvim/testdir/vim9.vim @@ -98,9 +98,9 @@ endfunc " Use ' #"' for a comment func CheckLegacyAndVim9Failure(lines, error) if type(a:error) == type('string') - let legacyError = error + let legacyError = a:error else - let legacyError = error[0] + let legacyError = a:error[0] endif let legacylines = a:lines->deepcopy()->map({_, v -> |