Projects
Mega:23.03
vim
_service:tar_scm:backport-patch-9.0.0022-spell-...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:backport-patch-9.0.0022-spell-test-fails.patch of Package vim
From 95afae6d1760b2efcc4968dbd3784799d24e9fdf Mon Sep 17 00:00:00 2001 From: Bram Moolenaar <Bram@vim.org> Date: Fri, 1 Jul 2022 22:44:19 +0100 Subject: [PATCH] patch 9.0.0022: spell test fails Problem: Spell test fails. Solution: Expect new error is given. --- src/testdir/test_spell_utf8.vim | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/testdir/test_spell_utf8.vim b/src/testdir/test_spell_utf8.vim index fe80689..c71308b 100644 --- a/src/testdir/test_spell_utf8.vim +++ b/src/testdir/test_spell_utf8.vim @@ -779,7 +779,12 @@ func Test_no_crash_with_weird_text() END call setline(1, lines) - exe "%norm \<C-v>ez=>\<C-v>wzG" + try + exe "%norm \<C-v>ez=>\<C-v>wzG" + catch /E1280:/ + let caught = 'yes' + endtry + call assert_equal('yes', caught) bwipe! endfunc -- 1.8.3.1
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