Skip to content

Commit 1a0f200

Browse files
committed
patch 8.0.0792: spell test leaves files behind
Problem: Spell test leaves files behind. Solution: Delete the files.
1 parent b41bf8e commit 1a0f200

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

src/testdir/test_spell.vim

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ if !has('spell')
44
finish
55
endif
66

7+
func TearDown()
8+
set nospell
9+
call delete('Xtest.aff')
10+
call delete('Xtest.dic')
11+
call delete('Xtest.latin1.add')
12+
call delete('Xtest.latin1.add.spl')
13+
call delete('Xtest.latin1.spl')
14+
call delete('Xtest.latin1.sug')
15+
endfunc
16+
717
func Test_wrap_search()
818
new
919
call setline(1, ['The', '', 'A plong line with two zpelling mistakes', '', 'End'])
@@ -226,6 +236,7 @@ endfunc
226236
func Test_zz_sal_and_addition()
227237
set enc=latin1
228238
set spellfile=
239+
call writefile(g:test_data_dic1, "Xtest.dic")
229240
call writefile(g:test_data_aff_sal, "Xtest.aff")
230241
mkspell! Xtest Xtest
231242
set spl=Xtest.latin1.spl spell

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,8 @@ static char *(features[]) =
769769

770770
static int included_patches[] =
771771
{ /* Add new patch number below this line */
772+
/**/
773+
792,
772774
/**/
773775
791,
774776
/**/

0 commit comments

Comments
 (0)