forked from aniani/vim
patch 8.2.5094: MS-Windows GUI: empty command may cause a dialog
Problem: MS-Windows GUI: empty command may cause a dialog. Solution: Delete the dialog file. Improve the message.
This commit is contained in:
@@ -246,8 +246,7 @@ func RunTheTest(test)
|
||||
endif
|
||||
|
||||
if filereadable('guidialogfile')
|
||||
call add(v:errors, "Unexpected dialog:")
|
||||
call add(v:errors, readfile('guidialogfile').join('\n'))
|
||||
call add(v:errors, "Unexpected dialog: " .. readfile('guidialogfile')->join('<NL>'))
|
||||
call delete('guidialogfile')
|
||||
endif
|
||||
|
||||
|
Reference in New Issue
Block a user