commit 89374da798ff29e651c47ed4159aa89e3395af9f
parent 1c6f7e5933fcc4b58e7cb3a945d7654b6e591e4a
Author: zeertzjq <zeertzjq@outlook.com>
Date: Mon, 5 Dec 2022 10:47:05 +0800
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)
https://github.com/vim/vim/commit/48e11c10548782f573411b6302f77adb69c40401
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/nvim/testdir/test_clientserver.vim b/src/nvim/testdir/test_clientserver.vim
@@ -87,6 +87,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 == ''