forked from aniani/vim
patch 8.2.1607: Vim9: getchar() test fails on MS-Windows
Problem: Vim9: getchar() test fails on MS-Windows. Solution: First consume any available input.
This commit is contained in:
@@ -1506,6 +1506,8 @@ def Test_getbufinfo()
|
|||||||
enddef
|
enddef
|
||||||
|
|
||||||
def Test_getchar()
|
def Test_getchar()
|
||||||
|
while getchar(0)
|
||||||
|
endwhile
|
||||||
assert_equal(0, getchar(true))
|
assert_equal(0, getchar(true))
|
||||||
enddef
|
enddef
|
||||||
|
|
||||||
|
@@ -754,6 +754,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 */
|
||||||
|
/**/
|
||||||
|
1607,
|
||||||
/**/
|
/**/
|
||||||
1606,
|
1606,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user