mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
vim-patch:8.2.2328: some test files may not be deleted (#21194)
Problem: Some test files may not be deleted.
Solution: Add a delete() call, correct name. (Dominique Pellé, closes vim/vim#7654)
48e11c1054
This commit is contained in:
@@ -87,6 +87,7 @@ func Test_client_server()
|
|||||||
call writefile(['one', 'two'], 'Xclientfile')
|
call writefile(['one', 'two'], 'Xclientfile')
|
||||||
call system(cmd)
|
call system(cmd)
|
||||||
call WaitForAssert({-> assert_equal('two', remote_expr(name, "getline(2)", "", 2))})
|
call WaitForAssert({-> assert_equal('two', remote_expr(name, "getline(2)", "", 2))})
|
||||||
|
call delete('Xclientfile')
|
||||||
|
|
||||||
" Expression evaluated locally.
|
" Expression evaluated locally.
|
||||||
if v:servername == ''
|
if v:servername == ''
|
||||||
|
Reference in New Issue
Block a user