Problem: Terminal pwd test fails with a very long path name.
Solution: Join two lines.
endif
call mkdir('Xtermdir')
let buf = term_start(cmd, {'cwd': 'Xtermdir'})
- call WaitForAssert({-> assert_equal('Xtermdir', fnamemodify(getline(1), ":t"))})
+ " if the path is very long it may be split over two lines, join them
+ " together
+ call WaitForAssert({-> assert_equal('Xtermdir', fnamemodify(getline(1) .. getline(2), ":t"))})
exe buf . 'bwipe'
call delete('Xtermdir', 'rf')
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 541,
/**/
540,
/**/