Patch 8.2.2328
Problem: Some test files may not be deleted.
Solution: Add a delete() call, correct name. (Dominique Pellé, closes #7654)
Files: src/testdir/test_clientserver.vim,
src/testdir/test_vim9_script.vim
*** ../vim-8.2.2327/src/testdir/test_clientserver.vim 2020-12-28
21:15:11.456883388 +0100
--- src/testdir/test_clientserver.vim 2021-01-11 18:45:30.987610153 +0100
***************
*** 81,86 ****
--- 81,87 ----
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 == ''
*** ../vim-8.2.2327/src/testdir/test_vim9_script.vim 2021-01-01
16:10:42.474679574 +0100
--- src/testdir/test_vim9_script.vim 2021-01-11 18:41:59.296162850 +0100
***************
*** 1238,1244 ****
assert_equal(3, g:loadCount)
assert_equal(['init', 'yes', 'again', 'once', 'thexport'], g:Values())
! delete('Xreloaded')
delete('XExportReload')
delfunc g:Values
unlet g:loadCount
--- 1238,1244 ----
assert_equal(3, g:loadCount)
assert_equal(['init', 'yes', 'again', 'once', 'thexport'], g:Values())
! delete('XReloaded')
delete('XExportReload')
delfunc g:Values
unlet g:loadCount
***************
*** 2966,2972 ****
invalid
endfu
try
! invalid
catch /wontmatch/
endtry
END
--- 2966,2972 ----
invalid
endfu
try
! alsoinvalid
catch /wontmatch/
endtry
END
*** ../vim-8.2.2327/src/version.c 2021-01-10 23:58:25.436466860 +0100
--- src/version.c 2021-01-11 18:43:15.803965984 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2328,
/**/
--
You cannot have a baby in one month by getting nine women pregnant.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202101111747.10BHlxBY702288%40masaka.moolenaar.net.