aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-07-02 06:44:39 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-07-02 06:55:23 +0800
commitd358856a0c78d73f9d850df5f722c5572014e90c (patch)
tree33be97367396494fc48911981020763fd435b760
parent998a96803b32dada4da26d0dc7a636f99319f0e6 (diff)
downloadrneovim-d358856a0c78d73f9d850df5f722c5572014e90c.tar.gz
rneovim-d358856a0c78d73f9d850df5f722c5572014e90c.tar.bz2
rneovim-d358856a0c78d73f9d850df5f722c5572014e90c.zip
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
-rw-r--r--src/nvim/testdir/test_spell_utf8.vim7
1 files changed, 6 insertions, 1 deletions
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 \<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