From 95afae6d1760b2efcc4968dbd3784799d24e9fdf Mon Sep 17 00:00:00 2001 From: Bram Moolenaar 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 ++++++- src/version.c | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/testdir/test_spell_utf8.vim b/src/testdir/test_spell_utf8.vim index fe8068959..c71308be5 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 \ez=>\wzG" + try + exe "%norm \ez=>\wzG" + catch /E1280:/ + let caught = 'yes' + endtry + call assert_equal('yes', caught) bwipe! endfunc diff --git a/src/version.c b/src/version.c index 23798ee56..dbd4951cc 100644 --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 22, /**/ 21, /**/ -- 2.40.0