diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-07-28 15:38:10 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-07-28 15:38:10 +0200 |
commit | 1a0f2005002a9993ba7313d1978fa2043314f8b8 (patch) | |
tree | d4c2d5843215236eaa9b651aad3c5be363434b80 | |
parent | b41bf8e6b45a773456031954bca1bc4212cbffbe (diff) | |
download | vim-git-1a0f2005002a9993ba7313d1978fa2043314f8b8.tar.gz |
patch 8.0.0792: spell test leaves files behindv8.0.0792
Problem: Spell test leaves files behind.
Solution: Delete the files.
-rw-r--r-- | src/testdir/test_spell.vim | 11 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/src/testdir/test_spell.vim b/src/testdir/test_spell.vim index 83da2a0be..e4c236c96 100644 --- a/src/testdir/test_spell.vim +++ b/src/testdir/test_spell.vim @@ -4,6 +4,16 @@ if !has('spell') finish 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() new call setline(1, ['The', '', 'A plong line with two zpelling mistakes', '', 'End']) @@ -226,6 +236,7 @@ endfunc func Test_zz_sal_and_addition() set enc=latin1 set spellfile= + call writefile(g:test_data_dic1, "Xtest.dic") call writefile(g:test_data_aff_sal, "Xtest.aff") mkspell! Xtest Xtest set spl=Xtest.latin1.spl spell diff --git a/src/version.c b/src/version.c index 350897bf8..3b45c9482 100644 --- a/src/version.c +++ b/src/version.c @@ -770,6 +770,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 792, +/**/ 791, /**/ 790, |