Patch 8.2.3440
Problem: Recover test fails if there is an old swap file.
Solution: Delete old swap files.
Files: src/testdir/test_recover.vim
*** ../vim-8.2.3439/src/testdir/test_recover.vim 2021-06-30
21:30:07.496195277 +0200
--- src/testdir/test_recover.vim 2021-09-14 22:57:06.315820820 +0200
***************
*** 170,175 ****
--- 170,181 ----
call assert_match('Unable to read block 0 from .Xfile1.swp', msg)
call assert_equal('Xfile1', @%)
bw!
+
+ " make sure there are no old swap files laying around
+ for f in glob('.sw?', 0, 1)
+ call delete(f)
+ endfor
+
" :recover from an empty buffer
call assert_fails('recover', 'E305:')
call delete('.Xfile1.swp')
*** ../vim-8.2.3439/src/version.c 2021-09-14 18:55:47.864129826 +0200
--- src/version.c 2021-09-14 22:51:40.644341170 +0200
***************
*** 757,758 ****
--- 757,760 ----
{ /* Add new patch number below this line */
+ /**/
+ 3440,
/**/
--
How To Keep A Healthy Level Of Insanity:
18. When leaving the zoo, start running towards the parking lot,
yelling "run for your lives, they're loose!!"
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202109142058.18EKwqNJ1491253%40masaka.moolenaar.net.