33 lines
850 B
Diff
33 lines
850 B
Diff
From 95afae6d1760b2efcc4968dbd3784799d24e9fdf Mon Sep 17 00:00:00 2001
|
||
From: Bram Moolenaar <Bram@vim.org>
|
||
Date: Fri, 1 Jul 2022 22:44:19 +0100
|
||
Subject: [PATCH] patch 9.0.0022: spell test fails
|
||
|
||
Problem: Spell test fails.
|
||
Solution: Expect new error is given.
|
||
---
|
||
src/testdir/test_spell_utf8.vim | 7 ++++++-
|
||
1 files changed, 6 insertions(+), 1 deletion(-)
|
||
|
||
diff --git a/src/testdir/test_spell_utf8.vim b/src/testdir/test_spell_utf8.vim
|
||
index fe80689..c71308b 100644
|
||
--- a/src/testdir/test_spell_utf8.vim
|
||
+++ b/src/testdir/test_spell_utf8.vim
|
||
@@ -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
|
||
--
|
||
1.8.3.1
|
||
|