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 -- [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/202009061807.086I7UFF966225%40masaka.moolenaar.net.

Raspunde prin e-mail lui