diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-09-29 10:14:32 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-09-29 10:16:18 +0200 |
commit | fa117387eea97306e4c59043b607ccb1533f64ea (patch) | |
tree | f0b0921caa5107400c635484fcb735e4f8aaf410 | |
parent | 6db3fc5632c877062d759356c025fe06e9dc3630 (diff) |
patch 9.1.0746: tests: Test_halfpage_longline() fails on large terminalsv9.1.0746
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>
-rw-r--r-- | src/testdir/test_normal.vim | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test_normal.vim b/src/testdir/test_normal.vim index adb5ce725d..bd830511e4 100644 --- a/src/testdir/test_normal.vim +++ b/src/testdir/test_normal.vim @@ -4266,6 +4266,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('.')) diff --git a/src/version.c b/src/version.c index cde28a3cd5..10b0f86c1c 100644 --- a/src/version.c +++ b/src/version.c @@ -705,6 +705,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 746, +/**/ 745, /**/ 744, |