1
0
forked from aniani/vim

patch 9.0.0022: spell test fails

Problem:    Spell test fails.
Solution:   Expect new error is given.
This commit is contained in:
Bram Moolenaar 2022-07-01 22:44:19 +01:00
parent 5e59ea54c0
commit 95afae6d17
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -735,6 +735,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
22,
/**/
21,
/**/