mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
vim-patch:9.0.0022: spell test fails
Problem: Spell test fails.
Solution: Expect new error is given.
95afae6d17
This commit is contained in:
@@ -780,7 +780,12 @@ func Test_no_crash_with_weird_text()
|
|||||||
|
|
||||||
END
|
END
|
||||||
call setline(1, lines)
|
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!
|
bwipe!
|
||||||
endfunc
|
endfunc
|
||||||
|
Reference in New Issue
Block a user