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.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Hirohito Higashi
2025-12-14 16:23:18 +01:00
committed by Christian Brabandt
parent b5cf53b8b1
commit 5193375b10
5 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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', {})
+2
View File
@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1978,
/**/
1977,
/**/