mirror of
https://github.com/vim/vim.git
synced 2025-10-03 05:14:07 -04:00
patch 8.2.0701: Vim9 test fails without job feature
Problem: Vim9 test fails without job feature. Solution: Add feature check.
This commit is contained in:
@@ -466,6 +466,7 @@ def Test_try_catch_fails()
|
|||||||
call CheckDefFailure(['throw xxx'], 'E1001:')
|
call CheckDefFailure(['throw xxx'], 'E1001:')
|
||||||
enddef
|
enddef
|
||||||
|
|
||||||
|
if has('channel')
|
||||||
let someJob = test_null_job()
|
let someJob = test_null_job()
|
||||||
|
|
||||||
def FuncWithError()
|
def FuncWithError()
|
||||||
@@ -479,6 +480,7 @@ func Test_convert_emsg_to_exception()
|
|||||||
call assert_match('Vim:E908:', v:exception)
|
call assert_match('Vim:E908:', v:exception)
|
||||||
endtry
|
endtry
|
||||||
endfunc
|
endfunc
|
||||||
|
endif
|
||||||
|
|
||||||
let s:export_script_lines =<< trim END
|
let s:export_script_lines =<< trim END
|
||||||
vim9script
|
vim9script
|
||||||
|
@@ -746,6 +746,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
701,
|
||||||
/**/
|
/**/
|
||||||
700,
|
700,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user