Patch 8.2.1629

4 views
Skip to first unread message

Bram Moolenaar

unread,
Sep 6, 2020, 2:07:41 PM9/6/20
to vim...@googlegroups.com

Patch 8.2.1629
Problem: Test fails without terminal feature.
Solution: Check for terminal feature.
Files: src/testdir/test_vim9_func.vim


*** ../vim-8.2.1628/src/testdir/test_vim9_func.vim 2020-09-06 18:39:34.712258081 +0200
--- src/testdir/test_vim9_func.vim 2020-09-06 20:03:06.070392742 +0200
***************
*** 1665,1681 ****
enddef

def Test_term_gettty()
! let buf = Run_shell_in_terminal({})
! assert_notequal('', term_gettty(buf, true))
! StopShellInTerminal(buf)
enddef

def Test_term_start()
! botright new
! let winnr = winnr()
! term_start(&shell, #{curwin: true})
! assert_equal(winnr, winnr())
! bwipe!
enddef

def Test_timer_paused()
--- 1665,1689 ----
enddef

def Test_term_gettty()
! if !has('terminal')
! MissingFeature 'terminal'
! else
! let buf = Run_shell_in_terminal({})
! assert_notequal('', term_gettty(buf, true))
! StopShellInTerminal(buf)
! endif
enddef

def Test_term_start()
! if !has('terminal')
! MissingFeature 'terminal'
! else
! botright new
! let winnr = winnr()
! term_start(&shell, #{curwin: true})
! assert_equal(winnr, winnr())
! bwipe!
! endif
enddef

def Test_timer_paused()
*** ../vim-8.2.1628/src/version.c 2020-09-06 18:39:34.712258081 +0200
--- src/version.c 2020-09-06 20:06:02.409880968 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1629,
/**/

--
Q: What do you call a fish without an eye?
A: fsh!
Q: What do you call a deer with no eyes?
A: no eye deer.
Q: What do you call a deer with no eyes and no legs?
A: still no eye deer.

/// 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