diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-06-14 17:13:59 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-06-14 17:13:59 +0100 |
commit | 217ea51ee4c4cb6cf690eb0da70cc4c81291aa2e (patch) | |
tree | ce15f77612408e7dd7901dfc8be270e85fefb9b0 /src/testdir/runtest.vim | |
parent | 6ce1b59228b94f4a5b076af75b091e14483c1392 (diff) |
patch 8.2.5094: MS-Windows GUI: empty command may cause a dialogv8.2.5094
Problem: MS-Windows GUI: empty command may cause a dialog.
Solution: Delete the dialog file. Improve the message.
Diffstat (limited to 'src/testdir/runtest.vim')
-rw-r--r-- | src/testdir/runtest.vim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index a4c238e8a2..db6797d1b0 100644 --- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim @@ -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 |