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:
parent
16a6f91ccb
commit
48e11c1054
@ -81,6 +81,7 @@ func Test_client_server()
|
|||||||
call writefile(['one', 'two'], 'Xclientfile')
|
call writefile(['one', 'two'], 'Xclientfile')
|
||||||
call system(cmd)
|
call system(cmd)
|
||||||
call WaitForAssert({-> assert_equal('two', remote_expr(name, "getline(2)", "", 2))})
|
call WaitForAssert({-> assert_equal('two', remote_expr(name, "getline(2)", "", 2))})
|
||||||
|
call delete('Xclientfile')
|
||||||
|
|
||||||
" Expression evaluated locally.
|
" Expression evaluated locally.
|
||||||
if v:servername == ''
|
if v:servername == ''
|
||||||
|
@ -1238,7 +1238,7 @@ def Test_vim9script_reload_noclear()
|
|||||||
assert_equal(3, g:loadCount)
|
assert_equal(3, g:loadCount)
|
||||||
assert_equal(['init', 'yes', 'again', 'once', 'thexport'], g:Values())
|
assert_equal(['init', 'yes', 'again', 'once', 'thexport'], g:Values())
|
||||||
|
|
||||||
delete('Xreloaded')
|
delete('XReloaded')
|
||||||
delete('XExportReload')
|
delete('XExportReload')
|
||||||
delfunc g:Values
|
delfunc g:Values
|
||||||
unlet g:loadCount
|
unlet g:loadCount
|
||||||
@ -2966,7 +2966,7 @@ def Test_vim9_autoload_error()
|
|||||||
invalid
|
invalid
|
||||||
endfu
|
endfu
|
||||||
try
|
try
|
||||||
invalid
|
alsoinvalid
|
||||||
catch /wontmatch/
|
catch /wontmatch/
|
||||||
endtry
|
endtry
|
||||||
END
|
END
|
||||||
|
@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2328,
|
||||||
/**/
|
/**/
|
||||||
2327,
|
2327,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user