From d358856a0c78d73f9d850df5f722c5572014e90c Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 2 Jul 2022 06:44:39 +0800 Subject: vim-patch:9.0.0022: spell test fails Problem: Spell test fails. Solution: Expect new error is given. https://github.com/vim/vim/commit/95afae6d1760b2efcc4968dbd3784799d24e9fdf --- src/nvim/testdir/test_spell_utf8.vim | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/testdir/test_spell_utf8.vim b/src/nvim/testdir/test_spell_utf8.vim index 3c07e0782b..3d240a8f2c 100644 --- a/src/nvim/testdir/test_spell_utf8.vim +++ b/src/nvim/testdir/test_spell_utf8.vim @@ -780,7 +780,12 @@ func Test_no_crash_with_weird_text() € END call setline(1, lines) - exe "%norm \ez=>\wzG" + try + exe "%norm \ez=>\wzG" + catch /E1280:/ + let caught = 'yes' + endtry + call assert_equal('yes', caught) bwipe! endfunc -- cgit