0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

patch 8.2.2328: some test files may not be deleted

Problem:    Some test files may not be deleted.
Solution:   Add a delete() call, correct name. (Dominique Pellé, closes #7654)
This commit is contained in:
Bram Moolenaar 2021-01-11 18:47:00 +01:00
parent 16a6f91ccb
commit 48e11c1054
3 changed files with 5 additions and 2 deletions

View File

@ -81,6 +81,7 @@ func Test_client_server()
call writefile(['one', 'two'], 'Xclientfile')
call system(cmd)
call WaitForAssert({-> assert_equal('two', remote_expr(name, "getline(2)", "", 2))})
call delete('Xclientfile')
" Expression evaluated locally.
if v:servername == ''

View File

@ -1238,7 +1238,7 @@ def Test_vim9script_reload_noclear()
assert_equal(3, g:loadCount)
assert_equal(['init', 'yes', 'again', 'once', 'thexport'], g:Values())
delete('Xreloaded')
delete('XReloaded')
delete('XExportReload')
delfunc g:Values
unlet g:loadCount
@ -2966,7 +2966,7 @@ def Test_vim9_autoload_error()
invalid
endfu
try
invalid
alsoinvalid
catch /wontmatch/
endtry
END

View File

@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2328,
/**/
2327,
/**/