diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-12-05 10:47:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-05 10:47:05 +0800 |
commit | 89374da798ff29e651c47ed4159aa89e3395af9f (patch) | |
tree | 26f932937ddd5d71f4e50b50bd1448450c4d23c8 | |
parent | 1c6f7e5933fcc4b58e7cb3a945d7654b6e591e4a (diff) | |
download | rneovim-89374da798ff29e651c47ed4159aa89e3395af9f.tar.gz rneovim-89374da798ff29e651c47ed4159aa89e3395af9f.tar.bz2 rneovim-89374da798ff29e651c47ed4159aa89e3395af9f.zip |
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
-rw-r--r-- | src/nvim/testdir/test_clientserver.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_clientserver.vim b/src/nvim/testdir/test_clientserver.vim index c54996a545..d8b29f6c42 100644 --- 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 == '' |