summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2022-01-24 11:40:37 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-24 11:40:37 +0000
commit7e765a39b795d5331bf2d4927b41df7b78915af9 (patch)
treef773c64927e6610144e0d6f67391406e3c59b6b1
parentc351dc1e0ca959084ba36bb350291334bf74b9f8 (diff)
downloadvim-git-7e765a39b795d5331bf2d4927b41df7b78915af9.tar.gz
patch 8.2.4200: some tests do not clean up properlyv8.2.4200
Problem: Some tests do not clean up properly. Solution: Delete created files. (Yegappan Lakshmanan, closes #9611)
-rw-r--r--src/testdir/test_filetype.vim4
-rw-r--r--src/testdir/test_messages.vim1
-rw-r--r--src/testdir/test_vim9_import.vim5
-rw-r--r--src/version.c2
4 files changed, 10 insertions, 2 deletions
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 99be4702c..2490377ea 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -1191,6 +1191,10 @@ func Test_foam_file()
call delete('0', 'rf')
call delete('0.orig', 'rf')
+ call delete('Xfile1Dict')
+ call delete('Xfile1Dict.something')
+ call delete('XfileProperties')
+ call delete('XfileProperties.something')
filetype off
endfunc
diff --git a/src/testdir/test_messages.vim b/src/testdir/test_messages.vim
index 1ba92ff5f..d3c80bf6c 100644
--- a/src/testdir/test_messages.vim
+++ b/src/testdir/test_messages.vim
@@ -373,6 +373,7 @@ func Test_fileinfo_after_echo()
" clean up
call StopVimInTerminal(buf)
call delete('Xtest_fileinfo_after_echo')
+ call delete('b.txt')
endfunc
" vim: shiftwidth=2 sts=2 expandtab
diff --git a/src/testdir/test_vim9_import.vim b/src/testdir/test_vim9_import.vim
index 8291e4a48..2ad505756 100644
--- a/src/testdir/test_vim9_import.vim
+++ b/src/testdir/test_vim9_import.vim
@@ -757,6 +757,7 @@ def Run_Test_import_in_diffexpr()
diffoff!
bwipe!
bwipe!
+ delete('Xdiffexpr')
enddef
def Test_import_in_patchexpr()
@@ -843,7 +844,7 @@ def Test_import_in_includeexpr()
bwipe!
bwipe!
set includeexpr=
- delete('Xinclude')
+ delete('Xinclude.vim')
delete('Xthisfile')
enddef
@@ -1927,7 +1928,7 @@ def Test_autoload_name_wring()
writefile(lines, 'Xscriptname.vim')
CheckScriptFailure(lines, 'E1263:')
- delete('Xscriptname')
+ delete('Xscriptname.vim')
enddef
def Test_import_autoload_postponed()
diff --git a/src/version.c b/src/version.c
index 621bc59a2..aa0910e0f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4200,
+/**/
4199,
/**/
4198,