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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20211204150103.5C6561C0BCC%40moolenaar.net.