summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-07-01 22:44:19 +0100
committerBram Moolenaar <Bram@vim.org>2022-07-01 22:44:19 +0100
commit95afae6d1760b2efcc4968dbd3784799d24e9fdf (patch)
tree4fba307bfc840d47f186c1766dc2ede5cfd1d165
parent5e59ea54c0c37c2f84770f068d95280069828774 (diff)
patch 9.0.0022: spell test failsv9.0.0022
Problem: Spell test fails. Solution: Expect new error is given.
-rw-r--r--src/testdir/test_spell_utf8.vim7
-rw-r--r--src/version.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/src/testdir/test_spell_utf8.vim b/src/testdir/test_spell_utf8.vim
index fe8068959e..c71308be56 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
diff --git a/src/version.c b/src/version.c
index 23798ee560..dbd4951cc7 100644
--- a/src/version.c
+++ b/src/version.c
@@ -736,6 +736,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 22,
+/**/
21,
/**/
20,