Patch 9.0.1020

4 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 6, 2022, 9:21:40 AM12/6/22
to vim...@googlegroups.com

Patch 9.0.1020
Problem: Tests call GetSwapFileList() before it is defined.
Solution: Move the call to after defining the function. (Christopher
Plewright)
Files: src/testdir/runtest.vim


*** ../vim-9.0.1019/src/testdir/runtest.vim 2022-12-05 20:58:01.191236353 +0000
--- src/testdir/runtest.vim 2022-12-06 13:03:37.420253558 +0000
***************
*** 161,173 ****
endif


- " A previous (failed) test run may have left swap files behind. Delete them
- " before running tests again, they might interfere.
- for name in s:GetSwapFileList()
- call delete(name)
- endfor
-
-
" Prepare for calling test_garbagecollect_now().
let v:testing = 1

--- 161,166 ----
***************
*** 210,215 ****
--- 203,215 ----
return files
endfunc

+ " A previous (failed) test run may have left swap files behind. Delete them
+ " before running tests again, they might interfere.
+ for name in s:GetSwapFileList()
+ call delete(name)
+ endfor
+
+
" Invoked when a test takes too much time.
func TestTimeout(id)
split test.log
*** ../vim-9.0.1019/src/version.c 2022-12-06 14:17:32.182527473 +0000
--- src/version.c 2022-12-06 14:20:20.986711446 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1020,
/**/

--
If you're sending someone Styrofoam, what do you pack it in?

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages