To: vim_dev@googlegroups.com Subject: Patch 8.2.1630 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///