Problem: Terminal test fails on MS-Windows.
Solution: Wait for the text to appear. (micbou, closes #2097)
call assert_equal('456', maparg('123', 't'))
call assert_equal('abcde', maparg('456', 't'))
call feedkeys("123", 'tx')
- call term_wait(buf)
+ let g:buf = buf
+ call WaitFor("term_getline(g:buf,term_getcursor(g:buf)[0]) =~ 'abcde\\|456'")
let lnum = term_getcursor(buf)[0]
if a:remap
call assert_match('abcde', term_getline(buf, lnum))
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1116,
/**/
1115,
/**/