Patch 8.2.3736

4 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 4, 2021, 10:01:08 AM12/4/21
to vim...@googlegroups.com

Patch 8.2.3736
Problem: Test fails without the channel feature. (Dominique Pellé)
Solution: Source the check.vim script. (closes #9277)
Files: src/testdir/test_vim9_fails.vim


*** ../vim-8.2.3735/src/testdir/test_vim9_fails.vim 2021-12-01 12:41:25.079773508 +0000
--- src/testdir/test_vim9_fails.vim 2021-12-04 14:58:15.269072146 +0000
***************
*** 1,8 ****
" Test for Vim9 script with failures, causing memory leaks to be reported.
" The leaks happen after a fork() and can be ignored.

def Test_assignment()
! if has('channel')
var chan1: channel
var job1: job
var job2: job = job_start('willfail')
--- 1,12 ----
" Test for Vim9 script with failures, causing memory leaks to be reported.
" The leaks happen after a fork() and can be ignored.

+ source check.vim
+
def Test_assignment()
! if !has('channel')
! CheckFeature channel
! else
var chan1: channel
var job1: job
var job2: job = job_start('willfail')
*** ../vim-8.2.3735/src/version.c 2021-12-04 14:02:25.457024636 +0000
--- src/version.c 2021-12-04 14:59:22.908678384 +0000
***************
*** 755,756 ****
--- 755,758 ----
{ /* Add new patch number below this line */
+ /**/
+ 3736,
/**/

--
Sometimes you can protect millions of dollars in your budget simply by buying
a bag of cookies, dropping it on the budget anylyst's desk, and saying
something deeply personal such as "How was your weekend, big guy?"
(Scott Adams - The Dilbert principle)

/// Bram Moolenaar -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages