1
0
forked from aniani/vim

patch 8.1.0842: getchar_zero test fails on MS-Windows

Problem:    getchar_zero test fails on MS-Windows.
Solution:   Disable the test for now.
This commit is contained in:
Bram Moolenaar
2019-01-28 23:20:04 +01:00
parent 2339fa335f
commit cb908a813c
2 changed files with 11 additions and 2 deletions

View File

@@ -251,13 +251,20 @@ func Test_peek_and_get_char()
endfunc
func Test_getchar_zero()
call timer_start(20, {id -> feedkeys('x', 'L')})
if has('win32')
" Console: no low-level input
" GUI: somehow doesn't work
return
endif
let id = timer_start(20, {id -> feedkeys('x', 'L')})
let c = 0
while c == 0
let c = getchar(0)
sleep 10m
endwhile
call assert_equal('x', nr2char(c))
call timer_stop(id)
endfunc
func Test_ex_mode()

View File

@@ -783,6 +783,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
842,
/**/
841,
/**/