Patch 8.2.1630
Problem: Terminal test fails.
Solution: Correct argument to term_start(). Correct error number.
Files: src/testdir/test_terminal.vim, src/testdir/test_terminal2.vim
*** ../vim-8.2.1629/src/testdir/test_terminal.vim 2020-09-04
21:18:40.488161918 +0200
--- src/testdir/test_terminal.vim 2020-09-06 21:09:58.925683583 +0200
***************
*** 912,918 ****
endif
enew
! let buf = term_start(cmd, {'curwin': bufnr('')})
let g:job = term_getjob(buf)
call WaitFor({-> term_getline(buf, 1) !=# ''}, 1000)
--- 912,918 ----
endif
enew
! let buf = term_start(cmd, {'curwin': 1})
let g:job = term_getjob(buf)
call WaitFor({-> term_getline(buf, 1) !=# ''}, 1000)
*** ../vim-8.2.1629/src/testdir/test_terminal2.vim 2020-09-05
16:08:46.594237023 +0200
--- src/testdir/test_terminal2.vim 2020-09-06 21:11:42.781419616 +0200
***************
*** 560,567 ****
endif
endif
! call assert_fails('call term_gettty(buf, 2)', 'E475:')
! call assert_fails('call term_gettty(buf, -1)', 'E475:')
call assert_equal('', term_gettty(buf + 1))
--- 560,567 ----
endif
endif
! call assert_fails('call term_gettty(buf, 2)', 'E1023:')
! call assert_fails('call term_gettty(buf, -1)', 'E1023:')
call assert_equal('', term_gettty(buf + 1))
*** ../vim-8.2.1629/src/version.c 2020-09-06 20:06:53.605733701 +0200
--- src/version.c 2020-09-06 21:12:43.145266627 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1630,
/**/
--
Time flies like an arrow.
Fruit flies like a banana.
/// 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/202009061913.086JDWoV984329%40masaka.moolenaar.net.