mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:9.1.0746: tests: Test_halfpage_longline() fails on large terminals (#30567)
Problem: Test_halfpage_longline() fails on large terminals
(lazypingu)
Solution: Use a window with known width (zeertzjq).
fixes: vim/vim#15755
closes: vim/vim#15756
fa117387ee
This commit is contained in:
@@ -4276,6 +4276,7 @@ endfunc
|
||||
" 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('.'))
|
||||
|
||||
Reference in New Issue
Block a user