neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 7139035bfd90698ce7214b507b2f8a7766398a68
parent c269b8dcae08221f1752faf1ecc7dae4d7eed40c
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Thu, 17 Nov 2022 23:30:30 +0800

vim-patch:9.0.0895: file renamed twice in test, missing feature check

Problem:    File renamed twice in test; missing feature check.
Solution:   Remove a rename() call.  Add check for cryptv feature.
            (closes vim/vim#11564)

https://github.com/vim/vim/commit/780154bf7a07813e474105837c2b5998009d9c71

Co-authored-by: zeertzjq <zeertzjq@outlook.com>

Diffstat:
Msrc/nvim/testdir/test_recover.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nvim/testdir/test_recover.vim b/src/nvim/testdir/test_recover.vim @@ -126,7 +126,6 @@ func Test_nocatch_process_still_running() call test_override("uptime", 0) sleep 1 - call rename('Xswap', swname) call feedkeys('e', 'tL') redir => editOutput edit Xswaptest @@ -332,6 +331,7 @@ endfunc " Test for :recover using an encrypted swap file func Test_recover_encrypted_swap_file() + CheckFeature cryptv CheckUnix " Recover an encrypted file from the swap file without the original file