patch 9.1.0746: tests: Test_halfpage_longline() fails on large terminals

Commit: 
https://github.com/vim/vim/commit/fa117387eea97306e4c59043b607ccb1533f64ea
Author: zeertzjq <zeert...@outlook.com>
Date:   Sun Sep 29 10:14:32 2024 +0200

    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 <zeert...@outlook.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/test_normal.vim b/src/testdir/test_normal.vim
index adb5ce725..bd830511e 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 cde28a3cd..10b0f86c1 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    746,
 /**/
     745,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1supJb-00GuIi-24%40256bit.org.

Raspunde prin e-mail lui