diff options
author | Christian Brabandt <cb@256bit.org> | 2023-10-17 18:10:13 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-10-17 18:10:13 +0200 |
commit | c290009e99405024a0d91ec7fab21ac7111c421b (patch) | |
tree | 9ff9745cb27fce6ba76899b8c333b8f2c2b52e2d | |
parent | 8079917447e7436dccc2e4cd4a4a56ae0a4712f2 (diff) |
patch 9.0.2042: Test_cq_zero_exmode fails without channel featurev9.0.2042
Problem: Test_cq_zero_exmode fails without channel feature
Solution: Make the test check the channel feature
closes: #13365
Signed-off-by: Christian Brabandt <cb@256bit.org>
-rw-r--r-- | runtime/doc/starting.txt | 4 | ||||
-rw-r--r-- | src/testdir/test_startup.vim | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt index 58b8edcd35..f7e98c7bef 100644 --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -1,4 +1,4 @@ -*starting.txt* For Vim version 9.0. Last change: 2023 May 30 +*starting.txt* For Vim version 9.0. Last change: 2023 Oct 17 VIM REFERENCE MANUAL by Bram Moolenaar @@ -348,7 +348,7 @@ a slash. Thus "-R" means recovery and "-/R" readonly. Start logging and write entries to {filename}. This works like calling `ch_logfile({filename}, 'ao')` very early during startup. - {only available with the |+eval| feature} + {only available with the |+eval| and |+channel| feature} *-D* -D Debugging. Go to debugging mode when executing the first diff --git a/src/testdir/test_startup.vim b/src/testdir/test_startup.vim index 6780205a2d..1a81318f3f 100644 --- a/src/testdir/test_startup.vim +++ b/src/testdir/test_startup.vim @@ -1353,6 +1353,8 @@ endfunc " Test that -cq works as expected func Test_cq_zero_exmode() + CheckFeature channel + let logfile = 'Xcq_log.txt' let out = system(GetVimCommand() .. ' --clean --log ' .. logfile .. ' -es -X -c "argdelete foobar" -c"7cq"') call assert_equal(8, v:shell_error) diff --git a/src/version.c b/src/version.c index 05b65c4b5d..0b1bf3138e 100644 --- a/src/version.c +++ b/src/version.c @@ -705,6 +705,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2042, +/**/ 2041, /**/ 2040, |