To: vim_dev@googlegroups.com Subject: Patch 8.2.2328 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- 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 ///