Skip to content

Commit 636c5d5

Browse files
committed
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.
1 parent 04637e2 commit 636c5d5

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/testdir/test_vim9_func.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1506,6 +1506,8 @@ def Test_getbufinfo()
15061506
enddef
15071507

15081508
def Test_getchar()
1509+
while getchar(0)
1510+
endwhile
15091511
assert_equal(0, getchar(true))
15101512
enddef
15111513

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,8 @@ static char *(features[]) =
754754

755755
static int included_patches[] =
756756
{ /* Add new patch number below this line */
757+
/**/
758+
1607,
757759
/**/
758760
1606,
759761
/**/

0 commit comments

Comments
 (0)