diff options
Diffstat (limited to 'src/testdir/runtest.vim')
-rw-r--r-- | src/testdir/runtest.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index 766f983cf9..a4c238e8a2 100644 --- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim @@ -245,6 +245,12 @@ func RunTheTest(test) call popup_clear(1) endif + if filereadable('guidialogfile') + call add(v:errors, "Unexpected dialog:") + call add(v:errors, readfile('guidialogfile').join('\n')) + call delete('guidialogfile') + endif + " Close any extra tab pages and windows and make the current one not modified. while tabpagenr('$') > 1 let winid = win_getid() |