Commit: patch 9.1.1978: tests: Test_smoothscroll_number() may fail

2 views
Skip to first unread message

Christian Brabandt

unread,
Dec 14, 2025, 10:30:53 AM (2 days ago) Dec 14
to vim...@googlegroups.com
patch 9.1.1978: tests: Test_smoothscroll_number() may fail

Commit: https://github.com/vim/vim/commit/5193375b10bee038aa197c44602e1a5cf2dba6bf
Author: Hirohito Higashi <h.eas...@gmail.com>
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 <h.eas...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

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,
/**/
Reply all
Reply to author
Forward
0 new messages