patch 9.2.0304: tests: test for 9.2.0285 doesn't always fail without the fix
Commit: https://github.com/vim/vim/commit/b03970f41f17ce8f27b1c453784763527360d81b Author: zeertzjq <[email protected]> Date: Sun Apr 5 16:45:29 2026 +0000 patch 9.2.0304: tests: test for 9.2.0285 doesn't always fail without the fix Problem: When the terminal is very large, test for 9.2.0285 doesn't trigger an ASAN error without the fix. Solution: Use a window with fixed height (zeertzjq) closes: #19924 Signed-off-by: zeertzjq <[email protected]> Signed-off-by: Christian Brabandt <[email protected]> diff --git a/src/testdir/test_syntax.vim b/src/testdir/test_syntax.vim index 27f2efc2c..739fee528 100644 --- a/src/testdir/test_syntax.vim +++ b/src/testdir/test_syntax.vim @@ -997,9 +997,9 @@ func Test_syn_sync_grouphere_shorter_next_line() bar fi END - let lines = ['a']->repeat(50) + lines + ['a']->repeat(28 + winheight(0)) + let lines = ['a']->repeat(50) + lines + ['a']->repeat(48) - new + 20new call setline(1, lines) syn region shIf transparent \ start="\<if\_s" skip=+-fi\>+ end="\<;\_s*then\>" end="\<fi\>" diff --git a/src/version.c b/src/version.c index 71f8a287d..ddf315372 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 304, /**/ 303, /**/ -- -- 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 visit https://groups.google.com/d/msgid/vim_dev/E1w9fLP-006Ywf-VI%40256bit.org.
