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:')
|
||||
enddef
|
||||
|
||||
if has('channel')
|
||||
let someJob = test_null_job()
|
||||
|
||||
def FuncWithError()
|
||||
@@ -479,6 +480,7 @@ func Test_convert_emsg_to_exception()
|
||||
call assert_match('Vim:E908:', v:exception)
|
||||
endtry
|
||||
endfunc
|
||||
endif
|
||||
|
||||
let s:export_script_lines =<< trim END
|
||||
vim9script
|
||||
|
@@ -746,6 +746,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
701,
|
||||
/**/
|
||||
700,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user