changeset 23571:b02ac00aacbf v8.2.2328

patch 8.2.2328: some test files may not be deleted Commit: https://github.com/vim/vim/commit/48e11c10548782f573411b6302f77adb69c40401 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 11 18:47:00 2021 +0100 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 https://github.com/vim/vim/issues/7654)
author Bram Moolenaar <Bram@vim.org>
date Mon, 11 Jan 2021 19:00:07 +0100
parents ef1958a763b7
children b35e568d74e6
files src/testdir/test_clientserver.vim src/testdir/test_vim9_script.vim src/version.c
diffstat 3 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_clientserver.vim
+++ b/src/testdir/test_clientserver.vim
@@ -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 == ''
--- a/src/testdir/test_vim9_script.vim
+++ b/src/testdir/test_vim9_script.vim
@@ -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
--- 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 */
 /**/
+    2328,
+/**/
     2327,
 /**/
     2326,