Skip to content

Commit 95afae6

Browse files
committed
patch 9.0.0022: spell test fails
Problem: Spell test fails. Solution: Expect new error is given.
1 parent 5e59ea5 commit 95afae6

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

src/testdir/test_spell_utf8.vim

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,12 @@ func Test_no_crash_with_weird_text()
779779
€
780780
END
781781
call setline(1, lines)
782-
exe "%norm \<C-v>ez=>\<C-v>wzG"
782+
try
783+
exe "%norm \<C-v>ez=>\<C-v>wzG"
784+
catch /E1280:/
785+
let caught = 'yes'
786+
endtry
787+
call assert_equal('yes', caught)
783788

784789
bwipe!
785790
endfunc

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,8 @@ static char *(features[]) =
735735

736736
static int included_patches[] =
737737
{ /* Add new patch number below this line */
738+
/**/
739+
22,
738740
/**/
739741
21,
740742
/**/

0 commit comments

Comments
 (0)