changeset 29359:dd76820a4d60 v9.0.0022

patch 9.0.0022: spell test fails Commit: https://github.com/vim/vim/commit/95afae6d1760b2efcc4968dbd3784799d24e9fdf Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 1 22:44:19 2022 +0100 patch 9.0.0022: spell test fails Problem: Spell test fails. Solution: Expect new error is given.
author Bram Moolenaar <Bram@vim.org>
date Fri, 01 Jul 2022 23:45:02 +0200
parents 16533485a2bb
children 8df35bdbb575
files src/testdir/test_spell_utf8.vim src/version.c
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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,