mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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.
da292b07af
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
parent
0eddf5ad2f
commit
d372eedcfa
@ -404,13 +404,16 @@ func Test_ask_yesno()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_null()
|
func Test_null()
|
||||||
echom test_null_list()
|
echom v:_null_list
|
||||||
echom test_null_dict()
|
echom v:_null_dict
|
||||||
echom test_null_blob()
|
echom v:_null_blob
|
||||||
echom test_null_job()
|
echom v:_null_string
|
||||||
echom test_null_string()
|
" Nvim doesn't have NULL partials
|
||||||
echom test_null_channel()
|
" echom test_null_partial()
|
||||||
echom test_null_partial()
|
if has('job')
|
||||||
|
echom test_null_job()
|
||||||
|
echom test_null_channel()
|
||||||
|
endif
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_mapping_at_hit_return_prompt()
|
func Test_mapping_at_hit_return_prompt()
|
||||||
|
Loading…
Reference in New Issue
Block a user