Patch 8.2.1002
Problem: Test may fail when run directly.
Solution: Check if g:run_nr exists. (Christian Brabandt, closes #6285)
Files: src/testdir/term_util.vim
*** ../vim-8.2.1001/src/testdir/term_util.vim 2020-06-16 23:18:48.116416938
+0200
--- src/testdir/term_util.vim 2020-06-18 18:31:55.319568431 +0200
***************
*** 28,37 ****
" The second argument is the minimum time to wait in msec, 10 if omitted.
func TermWait(buf, ...)
let wait_time = a:0 ? a:1 : 10
! if g:run_nr == 2
! let wait_time *= 4
! elseif g:run_nr > 2
! let wait_time *= 10
endif
call term_wait(a:buf, wait_time)
--- 28,39 ----
" The second argument is the minimum time to wait in msec, 10 if omitted.
func TermWait(buf, ...)
let wait_time = a:0 ? a:1 : 10
! if exists('g:run_nr')
! if g:run_nr == 2
! let wait_time *= 4
! elseif g:run_nr > 2
! let wait_time *= 10
! endif
endif
call term_wait(a:buf, wait_time)
*** ../vim-8.2.1001/src/version.c 2020-06-18 18:26:18.963984387 +0200
--- src/version.c 2020-06-18 18:33:10.835444342 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1002,
/**/
--
CRONE: Who sent you?
ARTHUR: The Knights Who Say Ni!
CRONE: Aaaagh! (she looks around in rear) No! We have no shrubberies here.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ 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/202006181634.05IGYgRJ404246%40masaka.moolenaar.net.