diff src/testdir/test_clientserver.vim @ 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 0098b94e5d08
children 493870e7f61d
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 == ''