diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-11-17 23:30:30 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-11-17 23:30:56 +0800 |
commit | 7139035bfd90698ce7214b507b2f8a7766398a68 (patch) | |
tree | be5c38a25b18772f042205c75d7552c2036fbf5a | |
parent | c269b8dcae08221f1752faf1ecc7dae4d7eed40c (diff) | |
download | rneovim-7139035bfd90698ce7214b507b2f8a7766398a68.tar.gz rneovim-7139035bfd90698ce7214b507b2f8a7766398a68.tar.bz2 rneovim-7139035bfd90698ce7214b507b2f8a7766398a68.zip |
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>
-rw-r--r-- | src/nvim/testdir/test_recover.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_recover.vim b/src/nvim/testdir/test_recover.vim index f4710c4357..92e22687af 100644 --- 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 |