Patch 9.0.1034
Problem: Reporting swap file when windows are split.
Solution: Close extra windows after running a test.
Files: src/testdir/runtest.vim
*** ../vim-9.0.1033/src/testdir/runtest.vim 2022-12-06 15:07:51.744470475
+0000
--- src/testdir/runtest.vim 2022-12-08 09:33:47.340125125 +0000
***************
*** 365,370 ****
--- 365,375 ----
call add(s:messages, message)
let s:done += 1
+ " close any split windows
+ while winnr('$') > 1
+ bwipe!
+ endwhile
+
" May be editing some buffer, wipe it out. Then we may end up in another
" buffer, continue until we end up in an empty no-name buffer without a swap
" file.
*** ../vim-9.0.1033/src/version.c 2022-12-08 16:09:57.936588830 +0000
--- src/version.c 2022-12-08 16:30:00.091509194 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1034,
/**/
--
hundred-and-one symptoms of being an internet addict:
268. You get up in the morning and go online before getting your coffee.
/// 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/20221208163042.A2D7D1C0678%40moolenaar.net.