To: vim_dev@googlegroups.com Subject: Patch 8.2.4885 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4885 (after 8.2.4884) Problem: Test fails with the job/channel feature. Solution: Move check for job/channel separately. Files: src/testdir/test_vim9_script.vim *** ../vim-8.2.4884/src/testdir/test_vim9_script.vim 2022-05-06 13:27:05.136335099 +0100 --- src/testdir/test_vim9_script.vim 2022-05-06 13:35:42.903799806 +0100 *************** *** 4199,4208 **** var Var_func: func var var_string: string var var_blob: blob - if has('job') - var var_job: job - var var_channel: channel - endif var var_list: list var var_dict: dict --- 4199,4204 ---- *************** *** 4213,4231 **** echo Var_func echo var_string echo var_blob - if has('job') - echo var_job - echo var_channel - else - echo 'no process' - echo 'channel fail' - endif echo var_list echo var_dict redir END ! assert_equal(['false', '0', '0.0', 'function()', '', '0z', 'no process', ! 'channel fail', '[]', '{}'], res->split('\n')) enddef " Keep this last, it messes up highlighting. --- 4209,4231 ---- echo Var_func echo var_string echo var_blob echo var_list echo var_dict redir END ! assert_equal(['false', '0', '0.0', 'function()', '', '0z', '[]', '{}'], res->split('\n')) ! ! if has('job') ! var var_job: job ! var var_channel: channel ! ! redir => res ! echo var_job ! echo var_channel ! redir END ! ! assert_equal(['no process', 'channel fail'], res->split('\n')) ! endif enddef " Keep this last, it messes up highlighting. *** ../vim-8.2.4884/src/version.c 2022-05-06 13:27:05.136335099 +0100 --- src/version.c 2022-05-06 13:37:22.291696370 +0100 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 4885, /**/ -- hundred-and-one symptoms of being an internet addict: 114. You are counting items, you go "0,1,2,3,4,5,6,7,8,9,A,B,C,D...". /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///