To: vim_dev@googlegroups.com Subject: Patch 8.2.0701 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.0701 Problem: Vim9 test fails without job feature. Solution: Add feature check. Files: src/testdir/test_vim9_script.vim *** ../vim-8.2.0700/src/testdir/test_vim9_script.vim 2020-05-05 22:08:20.606179806 +0200 --- src/testdir/test_vim9_script.vim 2020-05-05 23:31:43.368561887 +0200 *************** *** 466,484 **** call CheckDefFailure(['throw xxx'], 'E1001:') enddef ! let someJob = test_null_job() ! def FuncWithError() ! echomsg g:someJob ! enddef ! func Test_convert_emsg_to_exception() ! try ! call FuncWithError() ! catch ! call assert_match('Vim:E908:', v:exception) ! endtry ! endfunc let s:export_script_lines =<< trim END vim9script --- 466,486 ---- call CheckDefFailure(['throw xxx'], 'E1001:') enddef ! if has('channel') ! let someJob = test_null_job() ! def FuncWithError() ! echomsg g:someJob ! enddef ! func Test_convert_emsg_to_exception() ! try ! call FuncWithError() ! catch ! call assert_match('Vim:E908:', v:exception) ! endtry ! endfunc ! endif let s:export_script_lines =<< trim END vim9script *** ../vim-8.2.0700/src/version.c 2020-05-05 22:08:20.606179806 +0200 --- src/version.c 2020-05-05 23:32:41.792365833 +0200 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 701, /**/ -- hundred-and-one symptoms of being an internet addict: 52. You ask a plumber how much it would cost to replace the chair in front of your computer with a toilet. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///