Skip to content

Commit c290009

Browse files
committed
patch 9.0.2042: Test_cq_zero_exmode fails without channel feature
Problem: Test_cq_zero_exmode fails without channel feature Solution: Make the test check the channel feature closes: #13365 Signed-off-by: Christian Brabandt <[email protected]>
1 parent 8079917 commit c290009

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

runtime/doc/starting.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*starting.txt* For Vim version 9.0. Last change: 2023 May 30
1+
*starting.txt* For Vim version 9.0. Last change: 2023 Oct 17
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -348,7 +348,7 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
348348
Start logging and write entries to {filename}.
349349
This works like calling `ch_logfile({filename}, 'ao')` very
350350
early during startup.
351-
{only available with the |+eval| feature}
351+
{only available with the |+eval| and |+channel| feature}
352352

353353
*-D*
354354
-D Debugging. Go to debugging mode when executing the first

src/testdir/test_startup.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,6 +1353,8 @@ endfunc
13531353

13541354
" Test that -cq works as expected
13551355
func Test_cq_zero_exmode()
1356+
CheckFeature channel
1357+
13561358
let logfile = 'Xcq_log.txt'
13571359
let out = system(GetVimCommand() .. ' --clean --log ' .. logfile .. ' -es -X -c "argdelete foobar" -c"7cq"')
13581360
call assert_equal(8, v:shell_error)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,8 @@ static char *(features[]) =
704704

705705
static int included_patches[] =
706706
{ /* Add new patch number below this line */
707+
/**/
708+
2042,
707709
/**/
708710
2041,
709711
/**/

0 commit comments

Comments
 (0)