comparison 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
comparison
equal deleted inserted replaced
23570:ef1958a763b7 23571:b02ac00aacbf
79 call WaitForAssert({-> assert_equal('Xclientfile', remote_expr(name, "bufname()", "", 2))}) 79 call WaitForAssert({-> assert_equal('Xclientfile', remote_expr(name, "bufname()", "", 2))})
80 call WaitForAssert({-> assert_equal('one', remote_expr(name, "getline(1)", "", 2))}) 80 call WaitForAssert({-> assert_equal('one', remote_expr(name, "getline(1)", "", 2))})
81 call writefile(['one', 'two'], 'Xclientfile') 81 call writefile(['one', 'two'], 'Xclientfile')
82 call system(cmd) 82 call system(cmd)
83 call WaitForAssert({-> assert_equal('two', remote_expr(name, "getline(2)", "", 2))}) 83 call WaitForAssert({-> assert_equal('two', remote_expr(name, "getline(2)", "", 2))})
84 call delete('Xclientfile')
84 85
85 " Expression evaluated locally. 86 " Expression evaluated locally.
86 if v:servername == '' 87 if v:servername == ''
87 eval 'MYSELF'->remote_startserver() 88 eval 'MYSELF'->remote_startserver()
88 " May get MYSELF1 when running the test again. 89 " May get MYSELF1 when running the test again.