neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 88eeb4d941a4ae3f75bbf4faae2882786e44f687
parent 66933b45dcff8cc9f323a71583bca3698566abb9
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Wed, 19 Oct 2022 07:15:08 +0800

vim-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.
https://github.com/vim/vim/commit/53c5c9f50ca68d3ed559eebb2c5f7d23f39a768c

Diffstat:
Msrc/nvim/testdir/test_autocmd.vim | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/nvim/testdir/test_autocmd.vim b/src/nvim/testdir/test_autocmd.vim @@ -3280,7 +3280,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