mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.0.0792: spell test leaves files behind
Problem: Spell test leaves files behind.
Solution: Delete the files.
1a0f200500
This commit is contained in:
parent
34cc04d753
commit
682d5ff8e6
@ -4,6 +4,16 @@ if !has('spell')
|
|||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
func TearDown()
|
||||||
|
set nospell
|
||||||
|
call delete('Xtest.aff')
|
||||||
|
call delete('Xtest.dic')
|
||||||
|
call delete('Xtest.latin1.add')
|
||||||
|
call delete('Xtest.latin1.add.spl')
|
||||||
|
call delete('Xtest.latin1.spl')
|
||||||
|
call delete('Xtest.latin1.sug')
|
||||||
|
endfunc
|
||||||
|
|
||||||
func Test_wrap_search()
|
func Test_wrap_search()
|
||||||
new
|
new
|
||||||
call setline(1, ['The', '', 'A plong line with two zpelling mistakes', '', 'End'])
|
call setline(1, ['The', '', 'A plong line with two zpelling mistakes', '', 'End'])
|
||||||
@ -226,6 +236,7 @@ endfunc
|
|||||||
func Test_zz_sal_and_addition()
|
func Test_zz_sal_and_addition()
|
||||||
set enc=latin1
|
set enc=latin1
|
||||||
set spellfile=
|
set spellfile=
|
||||||
|
call writefile(g:test_data_dic1, "Xtest.dic")
|
||||||
call writefile(g:test_data_aff_sal, "Xtest.aff")
|
call writefile(g:test_data_aff_sal, "Xtest.aff")
|
||||||
mkspell! Xtest Xtest
|
mkspell! Xtest Xtest
|
||||||
set spl=Xtest.latin1.spl spell
|
set spl=Xtest.latin1.spl spell
|
||||||
|
Loading…
Reference in New Issue
Block a user