tui: flush -V3 ('verbose' >= 3) info ASAP

This commit is contained in:
Justin M. Keyes
2017-12-04 23:31:50 +01:00
parent 837100fcb1
commit 2d4abc1cae
2 changed files with 3 additions and 3 deletions

View File

@@ -721,9 +721,6 @@ describe("tui", function()
{3:-- TERMINAL --} |
]])
-- Vim flushes the log file on exit.
feed_data('\33:q\n')
retry(nil, 3000, function() -- Wait for log file to be flushed.
local log = read_file('Xtest_tui_verbose_log') or ''
eq('--- Terminal info --- {{{\n', string.match(log, '--- Terminal.-\n'))