]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1978: tests: Test_smoothscroll_number() may fail v9.1.1978
authorHirohito Higashi <h.east.727@gmail.com>
Sun, 14 Dec 2025 15:23:18 +0000 (16:23 +0100)
committerChristian Brabandt <cb@256bit.org>
Sun, 14 Dec 2025 15:23:18 +0000 (16:23 +0100)
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>
src/testdir/dumps/Test_smooth_number_7.dump
src/testdir/dumps/Test_smooth_number_8.dump
src/testdir/dumps/Test_smooth_number_9.dump
src/testdir/test_scroll_opt.vim
src/version.c

index 7219f8f7275b5b78339522dcf8bb9115f28ebed3..bfcfa20cce28861773fb4087aa99b67a59c7d904 100644 (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
index edae52b812417cdaaca6b575db75b78b71018308..20d795e36fa971301976b962ba6646e8922c5ece 100644 (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
index 1243b39a02ed36a72226e460f30d02bda72907ad..090d5c89403366a29ce227c0d5e7cbfb45605994 100644 (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
index 0d9d3d984531186640b3d2f836f2a05bfc0d3b29..2b82410b9ca15ef67d0cc585572f629364f899f9 100644 (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', {})
index 5b8802631ad1e715252f0b739480045782ddb33f..5c19e6baa232f05921f53ced120ac3161ea1f4c2 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1978,
 /**/
     1977,
 /**/