0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

patch 9.0.0790: test for dummy buffer does not always produce the E86 error

Problem:    Test for dummy buffer does not always produce the E86 error.
Solution:   Do not check if the error is produced.
This commit is contained in:
Bram Moolenaar 2022-10-18 17:25:03 +01:00
parent 8f3c3c6cd0
commit 53c5c9f50c
2 changed files with 4 additions and 1 deletions

View File

@ -3868,7 +3868,8 @@ func Test_autocmd_split_dummy()
lex 'Xtestfile2:4:4'
endfunc
call Xautocmd_changelist()
call assert_fails('call Xautocmd_changelist()', 'E86:')
" Should get E86, but it doesn't always happen (timing?)
silent! call Xautocmd_changelist()
au! BufReadPre
au! FileChangedShell

View File

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