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>
" Test for Ctrl-D with long line
func Test_halfpage_longline()
10new
+ 40vsplit
call setline(1, ['long'->repeat(1000), 'short'])
exe "norm! \<C-D>"
call assert_equal(2, line('.'))
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 746,
/**/
745,
/**/