mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.0.1667: regression test doesn't fail when fix is reverted
Problem: Regression test doesn't fail when fix is reverted. Solution: Add "n" to 'cpoptions' instead of using :winsize. (closes #12587, issue #12528)
This commit is contained in:
@@ -1,19 +1,19 @@
|
|||||||
| +0#af5f00255#ffffff0||+1#0000000&| +0&&@9
|
| +0#af5f00255#ffffff0||+1#0000000&| +0&&@72
|
||||||
|@+0#4040ff13&||+1#0000000&| +0&&@9
|
|@+0#4040ff13&||+1#0000000&| +0&&@72
|
||||||
|@+0#4040ff13&||+1#0000000&| +0&&@9
|
|@+0#4040ff13&||+1#0000000&| +0&&@72
|
||||||
|@+0#4040ff13&||+1#0000000&| +0&&@9
|
|@+0#4040ff13&||+1#0000000&| +0&&@72
|
||||||
|@+0#4040ff13&||+1#0000000&| +0&&@9
|
|@+0#4040ff13&||+1#0000000&| +0&&@72
|
||||||
|@+0#4040ff13&||+1#0000000&| +0&&@9
|
|@+0#4040ff13&||+1#0000000&| +0&&@72
|
||||||
|@+0#4040ff13&||+1#0000000&| +0&&@9
|
|@+0#4040ff13&||+1#0000000&| +0&&@72
|
||||||
|@+0#4040ff13&||+1#0000000&| +0&&@9
|
|@+0#4040ff13&||+1#0000000&| +0&&@72
|
||||||
|@+0#4040ff13&||+1#0000000&| +0&&@9
|
|@+0#4040ff13&||+1#0000000&| +0&&@72
|
||||||
|@+0#4040ff13&||+1#0000000&| +0&&@9
|
|@+0#4040ff13&||+1#0000000&| +0&&@72
|
||||||
|@+0#4040ff13&||+1#0000000&| +0&&@9
|
|@+0#4040ff13&||+1#0000000&| +0&&@72
|
||||||
|@+0#4040ff13&||+1#0000000&| +0&&@9
|
|@+0#4040ff13&||+1#0000000&| +0&&@72
|
||||||
|@+0#4040ff13&||+1#0000000&| +0&&@9
|
|@+0#4040ff13&||+1#0000000&| +0&&@72
|
||||||
|@+0#4040ff13&||+1#0000000&| +0&&@9
|
|@+0#4040ff13&||+1#0000000&| +0&&@72
|
||||||
|@+0#4040ff13&||+1#0000000&| +0&&@9
|
|@+0#4040ff13&||+1#0000000&| +0&&@72
|
||||||
|@+0#4040ff13&||+1#0000000&| +0&&@9
|
|@+0#4040ff13&||+1#0000000&| +0&&@72
|
||||||
>@+0#4040ff13&||+1#0000000&| +0&&@9
|
>@+0#4040ff13&||+1#0000000&| +0&&@72
|
||||||
|<+3&&| |<+1&&|a|m|e|]| |[|+|]|
|
|<+3&&| |[+1&&|N|o| |N|a|m|e|]| |[|+|]| @59
|
||||||
| +0&&@11
|
| +0&&@74
|
||||||
|
@@ -840,7 +840,7 @@ func Test_smoothscroll_zero_width_scroll_cursor_bot()
|
|||||||
let lines =<< trim END
|
let lines =<< trim END
|
||||||
silent normal yy
|
silent normal yy
|
||||||
silent normal 19p
|
silent normal 19p
|
||||||
winsize 0 19
|
set cpoptions+=n
|
||||||
vsplit
|
vsplit
|
||||||
vertical resize 0
|
vertical resize 0
|
||||||
set foldcolumn=1
|
set foldcolumn=1
|
||||||
@@ -849,9 +849,7 @@ func Test_smoothscroll_zero_width_scroll_cursor_bot()
|
|||||||
silent normal 20G
|
silent normal 20G
|
||||||
END
|
END
|
||||||
call writefile(lines, 'XSmoothScrollZeroBot', 'D')
|
call writefile(lines, 'XSmoothScrollZeroBot', 'D')
|
||||||
let buf = RunVimInTerminal('-u NONE -S XSmoothScrollZeroBot', #{rows: 19, wait_for_ruler: 0})
|
let buf = RunVimInTerminal('-u NONE -S XSmoothScrollZeroBot', #{rows: 19})
|
||||||
call TermWait(buf, 1000)
|
|
||||||
|
|
||||||
call VerifyScreenDump(buf, 'Test_smoothscroll_zero_bot', {})
|
call VerifyScreenDump(buf, 'Test_smoothscroll_zero_bot', {})
|
||||||
|
|
||||||
call StopVimInTerminal(buf)
|
call StopVimInTerminal(buf)
|
||||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1667,
|
||||||
/**/
|
/**/
|
||||||
1666,
|
1666,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user