aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-09-29 17:05:56 +0800
committerGitHub <noreply@github.com>2024-09-29 17:05:56 +0800
commit1ff0a1712ad6ecab37b7126a3a7278bb9dab0d6b (patch)
tree11db40e7fc660cbe1f73d53209a84f297f24e625
parent8d99a56269bc1c9871c7ecbd18b888d6c79c3b6c (diff)
downloadrneovim-1ff0a1712ad6ecab37b7126a3a7278bb9dab0d6b.tar.gz
rneovim-1ff0a1712ad6ecab37b7126a3a7278bb9dab0d6b.tar.bz2
rneovim-1ff0a1712ad6ecab37b7126a3a7278bb9dab0d6b.zip
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 https://github.com/vim/vim/commit/fa117387eea97306e4c59043b607ccb1533f64ea
-rw-r--r--test/old/testdir/test_normal.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/old/testdir/test_normal.vim b/test/old/testdir/test_normal.vim
index 3ebc9a69a4..469a568820 100644
--- a/test/old/testdir/test_normal.vim
+++ b/test/old/testdir/test_normal.vim
@@ -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('.'))