Problem: Terminal test fails.
Solution: Correct argument to term_start(). Correct error number.
endif
enew
- let buf = term_start(cmd, {'curwin': bufnr('')})
+ let buf = term_start(cmd, {'curwin': 1})
let g:job = term_getjob(buf)
call WaitFor({-> term_getline(buf, 1) !=# ''}, 1000)
endif
endif
- call assert_fails('call term_gettty(buf, 2)', 'E475:')
- call assert_fails('call term_gettty(buf, -1)', 'E475:')
+ 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))
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1630,
/**/
1629,
/**/