mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.1.0746: tests: Test_halfpage_longline() fails on large terminals
Problem: Test_halfpage_longline() fails on large terminals (lazypingu) Solution: Use a window with known width (zeertzjq). fixes: #15755 closes: #15756 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
6db3fc5632
commit
fa117387ee
@ -4266,6 +4266,7 @@ endfunc
|
|||||||
" Test for Ctrl-D with long line
|
" Test for Ctrl-D with long line
|
||||||
func Test_halfpage_longline()
|
func Test_halfpage_longline()
|
||||||
10new
|
10new
|
||||||
|
40vsplit
|
||||||
call setline(1, ['long'->repeat(1000), 'short'])
|
call setline(1, ['long'->repeat(1000), 'short'])
|
||||||
exe "norm! \<C-D>"
|
exe "norm! \<C-D>"
|
||||||
call assert_equal(2, line('.'))
|
call assert_equal(2, line('.'))
|
||||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
746,
|
||||||
/**/
|
/**/
|
||||||
745,
|
745,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user