Mercurial > vim
changeset 32641:1611a7d88224 v9.0.1652
patch 9.0.1652: unclear why syntax test fails on Mac
Commit: https://github.com/vim/vim/commit/bd32e8ad8d23737d022b3f3ae7540892ab279304
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jun 23 21:36:31 2023 +0100
patch 9.0.1652: unclear why syntax test fails on Mac
Problem: Unclear why syntax test fails on Mac.
Solution: Echo v:errors when it's not empty.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 23 Jun 2023 22:45:04 +0200 |
parents | 2b9489614f34 |
children | c16adfd4e94f |
files | runtime/syntax/testdir/runtest.vim src/version.c |
diffstat | 2 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/syntax/testdir/runtest.vim +++ b/runtime/syntax/testdir/runtest.vim @@ -145,9 +145,16 @@ for fname in glob('input/*.*', 1, 1) call StopVimInTerminal(buf) call delete('Xtestscript') - " Add any assert errors to s:messages + " redraw here to avoid the following messages to get mixed up with screen + " output. + redraw + + " Add any assert errors to s:messages. if len(v:errors) > 0 call extend(s:messages, v:errors) + " Echo the errors here, in case the script aborts or the "messages" file + " is not displayed later. + echomsg v:errors let v:errors = [] let fail += 1 endif