mirror of
https://github.com/neovim/neovim.git
synced 2026-04-20 14:25:32 +00:00
vim-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: vim/vim#19924
b03970f41f
(cherry picked from commit f8695fc529)
This commit is contained in:
committed by
github-actions[bot]
parent
a837c906bb
commit
c09e82d12a
@@ -994,9 +994,9 @@ func Test_syn_sync_grouphere_shorter_next_line()
|
|||||||
bar
|
bar
|
||||||
fi
|
fi
|
||||||
END
|
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)
|
call setline(1, lines)
|
||||||
syn region shIf transparent
|
syn region shIf transparent
|
||||||
\ start="\<if\_s" skip=+-fi\>+ end="\<;\_s*then\>" end="\<fi\>"
|
\ start="\<if\_s" skip=+-fi\>+ end="\<;\_s*then\>" end="\<fi\>"
|
||||||
|
|||||||
Reference in New Issue
Block a user