Problem: Not all screen update code of the terminal window is executed in
tests.
Solution: Redraw before taking a screenshot.
let reference = 'dumps/' . a:filename . '.dump'
let testfile = 'failed/' . a:filename . '.dump'
+ " Redraw to execut the code that updates the screen. Otherwise we get the
+ " text and attributes only from the internal buffer.
+ redraw
+
let did_mkdir = 0
if !isdirectory('failed')
let did_mkdir = 1
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1168,
/**/
1167,
/**/