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
|
||||
|
||||
def Test_getchar()
|
||||
while getchar(0)
|
||||
endwhile
|
||||
assert_equal(0, getchar(true))
|
||||
enddef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user