neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit d372eedcfa8cae3b20853bfb1489ec8beb825e94
parent 0eddf5ad2fc3a5d5dd4be09a75aed198337ce032
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Sat, 15 Apr 2023 13:08:28 +0800

vim-patch:8.2.0102: messages test fails in small version

Problem:    Messages test fails in small version.
Solution:   Only use test_null_job() when available.

https://github.com/vim/vim/commit/da292b07afb7ea5ec9f4b43a7326551922e29f3a

Co-authored-by: Bram Moolenaar <Bram@vim.org>

Diffstat:
Mtest/old/testdir/test_messages.vim | 17++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/test/old/testdir/test_messages.vim b/test/old/testdir/test_messages.vim @@ -404,13 +404,16 @@ func Test_ask_yesno() endfunc func Test_null() - echom test_null_list() - echom test_null_dict() - echom test_null_blob() - echom test_null_job() - echom test_null_string() - echom test_null_channel() - echom test_null_partial() + echom v:_null_list + echom v:_null_dict + echom v:_null_blob + echom v:_null_string + " Nvim doesn't have NULL partials + " echom test_null_partial() + if has('job') + echom test_null_job() + echom test_null_channel() + endif endfunc func Test_mapping_at_hit_return_prompt()