diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-12-04 15:00:23 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-04 15:00:23 +0000 |
commit | 853a7692d19deb6b7c2cabce989b57c8b9908596 (patch) | |
tree | 7ccabf9c3ff9132e1b77436bdec89f2fea21b0d3 | |
parent | 7645da568c5e3b4ee339a2e99c3b3af790619787 (diff) | |
download | vim-git-853a7692d19deb6b7c2cabce989b57c8b9908596.tar.gz |
patch 8.2.3736: test fails without the channel featurev8.2.3736
Problem: Test fails without the channel feature. (Dominique Pellé)
Solution: Source the check.vim script. (closes #9277)
-rw-r--r-- | src/testdir/test_vim9_fails.vim | 6 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/testdir/test_vim9_fails.vim b/src/testdir/test_vim9_fails.vim index 216ef0b28..5c3cab545 100644 --- a/src/testdir/test_vim9_fails.vim +++ b/src/testdir/test_vim9_fails.vim @@ -1,8 +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') + if !has('channel') + CheckFeature channel + else var chan1: channel var job1: job var job2: job = job_start('willfail') diff --git a/src/version.c b/src/version.c index 55d233170..02743239f 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3736, +/**/ 3735, /**/ 3734, |