Projects
openEuler:Mainline
vim
_service:tar_scm:backport-patch-9.0.0790-test-f...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-patch-9.0.0790-test-for-dummy-buffer-does-not-always.patch of Package vim
From 53c5c9f50ca68d3ed559eebb2c5f7d23f39a768c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar <Bram@vim.org> Date: Tue, 18 Oct 2022 17:25:03 +0100 Subject: [PATCH] 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. --- src/testdir/test_autocmd.vim | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim index 6ba1b02df..04f3e1431 100644 --- a/src/testdir/test_autocmd.vim +++ b/src/testdir/test_autocmd.vim @@ -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 -- 2.27.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2