patch 9.1.1978: tests: Test_smoothscroll_number() may fail
Commit:
https://github.com/vim/vim/commit/5193375b10bee038aa197c44602e1a5cf2dba6bf
Author: Hirohito Higashi <[email protected]>
Date: Sun Dec 14 16:23:18 2025 +0100
patch 9.1.1978: tests: Test_smoothscroll_number() may fail
Problem: tests: Test_smoothscroll_number() may fail because of
'showcmd'
Solution: Send redraw command (Hirohito Higashi)
closes: #18921
Signed-off-by: Hirohito Higashi <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/testdir/dumps/Test_smooth_number_7.dump
b/src/testdir/dumps/Test_smooth_number_7.dump
index 7219f8f72..bfcfa20cc 100644
--- a/src/testdir/dumps/Test_smooth_number_7.dump
+++ b/src/testdir/dumps/Test_smooth_number_7.dump
@@ -9,4 +9,4 @@
| +0#af5f00255&@1|2| |t+0#0000000&|w|o| |l|o|n|g| |w|o|r|d| |l|o|n|g|
|w|o|r|d| |l|o|n|g| |w|o|r|d| |l|o
|@+0#4040ff13&@2| @36
|[+3#0000000&|N|o| |N|a|m|e|]| |[|+|]| @8|1|,|1| @11|T|o|p
-|:+0&&|b|o|t|r|i|g|h|t| |s|p| @27
+| +0&&@39
diff --git a/src/testdir/dumps/Test_smooth_number_8.dump
b/src/testdir/dumps/Test_smooth_number_8.dump
index edae52b81..20d795e36 100644
--- a/src/testdir/dumps/Test_smooth_number_8.dump
+++ b/src/testdir/dumps/Test_smooth_number_8.dump
@@ -9,4 +9,4 @@
| +0#af5f00255&@3|n+0#0000000&|g| |w|o|r|d| |l|o|n|g| |w|o|r|d| |l|o|n|g|
|w|o|r|d| |l|o|n|g| |w|o|r
| +0#af5f00255&@3|d+0#0000000&| @34
|[+3&&|N|o| |N|a|m|e|]| |[|+|]| @8|1|,|1|0|4| @9|T|o|p
-|:+0&&|b|o|t|r|i|g|h|t| |s|p| @27
+| +0&&@39
diff --git a/src/testdir/dumps/Test_smooth_number_9.dump
b/src/testdir/dumps/Test_smooth_number_9.dump
index 1243b39a0..090d5c894 100644
--- a/src/testdir/dumps/Test_smooth_number_9.dump
+++ b/src/testdir/dumps/Test_smooth_number_9.dump
@@ -9,4 +9,4 @@
| +0#af5f00255&@3|d+0#0000000&| @34
| +0#af5f00255&@1|3| |l+0#0000000&|i|n|e| @31
|[+3&&|N|o| |N|a|m|e|]| |[|+|]| @8|1|,|1|0|4| @9|T|o|p
-|:+0&&|b|o|t|r|i|g|h|t| |s|p| @27
+| +0&&@39
diff --git a/src/testdir/test_scroll_opt.vim b/src/testdir/test_scroll_opt.vim
index 0d9d3d984..2b82410b9 100644
--- a/src/testdir/test_scroll_opt.vim
+++ b/src/testdir/test_scroll_opt.vim
@@ -236,7 +236,7 @@ func Test_smoothscroll_number()
call term_sendkeys(buf, "\<C-Y>")
call VerifyScreenDump(buf, 'Test_smooth_number_6', {})
- call term_sendkeys(buf, ":botright split\<CR>gg")
+ call term_sendkeys(buf, ":botright split\<CR>\<C-L>gg")
call VerifyScreenDump(buf, 'Test_smooth_number_7', {})
call term_sendkeys(buf, "\<C-E>")
call VerifyScreenDump(buf, 'Test_smooth_number_8', {})
diff --git a/src/version.c b/src/version.c
index 5b8802631..5c19e6baa 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1978,
/**/
1977,
/**/
--
--
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 [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1vUo2x-00EpTV-6q%40256bit.org.