Patch 8.2.1002

5 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 18, 2020, 12:34:53 PM6/18/20
to vim...@googlegroups.com

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 -- Br...@Moolenaar.net -- 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 ///
Reply all
Reply to author
Forward
0 new messages