Patch 9.0.1652 (after 9.0.1651)
Problem: Unclear why syntax test fails on Mac.
Solution: Echo v:errors when it's not empty.
Files: runtime/syntax/testdir/runtest.vim
*** ../vim-9.0.1651/runtime/syntax/testdir/runtest.vim 2023-06-22
23:04:07.316962058 +0100
--- runtime/syntax/testdir/runtest.vim 2023-06-23 21:34:03.532809757 +0100
***************
*** 145,153 ****
call StopVimInTerminal(buf)
call delete('Xtestscript')
! " Add any assert errors to s:messages
if len(v:errors) > 0
call extend(s:messages, v:errors)
let v:errors = []
let fail += 1
endif
--- 145,160 ----
call StopVimInTerminal(buf)
call delete('Xtestscript')
! " 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
*** ../vim-9.0.1651/src/version.c 2023-06-23 19:37:14.974379627 +0100
--- src/version.c 2023-06-23 21:35:05.536580303 +0100
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1652,
/**/
--
Don't be humble ... you're not that great.
-- Golda Meir
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20230623203707.26C711C054C%40moolenaar.net.