vim-patch:9.0.0022: spell test fails

Problem:    Spell test fails.
Solution:   Expect new error is given.
95afae6d17
This commit is contained in:
zeertzjq 2022-07-02 06:44:39 +08:00
parent 998a96803b
commit d358856a0c

View File

@ -780,7 +780,12 @@ func Test_no_crash_with_weird_text()
€ €
END END
call setline(1, lines) call setline(1, lines)
try
exe "%norm \<C-v>ez=>\<C-v>wzG" exe "%norm \<C-v>ez=>\<C-v>wzG"
catch /E1280:/
let caught = 'yes'
endtry
call assert_equal('yes', caught)
bwipe! bwipe!
endfunc endfunc