1
0
forked from aniani/vim

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 <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2023-10-17 18:10:13 +02:00
parent 8079917447
commit c290009e99
3 changed files with 6 additions and 2 deletions

View File

@@ -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)

View File

@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2042,
/**/
2041,
/**/