mirror of
https://github.com/vim/vim.git
synced 2025-07-25 10:54:51 -04:00
patch 9.1.1067: tests: Test_termwinscroll_topline2 fails on MacOS
Problem: tests: Test_termwinscroll_topline2 fails on MacOS (after v9.1.1062) Solution: reduce termwinscroll further, increase term_wait time Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
2101230f40
commit
44a21351a8
@ -291,7 +291,7 @@ endfunc
|
|||||||
|
|
||||||
func Test_termwinscroll_topline2()
|
func Test_termwinscroll_topline2()
|
||||||
let g:test_is_flaky = 1
|
let g:test_is_flaky = 1
|
||||||
set termwinscroll=75000 mouse=a
|
set termwinscroll=50000 mouse=a
|
||||||
if !has('win32')
|
if !has('win32')
|
||||||
set shell=sh
|
set shell=sh
|
||||||
endif
|
endif
|
||||||
@ -311,7 +311,7 @@ func Test_termwinscroll_topline2()
|
|||||||
endif
|
endif
|
||||||
let rows = term_getsize(buf)[0]
|
let rows = term_getsize(buf)[0]
|
||||||
" It may take a while to finish on a slow system
|
" It may take a while to finish on a slow system
|
||||||
call term_wait(buf, 1000 * g:run_nr)
|
call term_wait(buf, 2000 * g:run_nr)
|
||||||
" On MS-Windows there is an empty line, check both last line and above it.
|
" On MS-Windows there is an empty line, check both last line and above it.
|
||||||
call WaitForAssert({-> assert_match(string(num1 - 1), term_getline(buf, rows - 1) .. '\|' .. term_getline(buf, rows - 2))})
|
call WaitForAssert({-> assert_match(string(num1 - 1), term_getline(buf, rows - 1) .. '\|' .. term_getline(buf, rows - 2))})
|
||||||
call feedkeys("\<C-W>N", 'xt')
|
call feedkeys("\<C-W>N", 'xt')
|
||||||
|
@ -704,6 +704,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 */
|
||||||
|
/**/
|
||||||
|
1067,
|
||||||
/**/
|
/**/
|
||||||
1066,
|
1066,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user