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.
cb908a813c
This commit is contained in:
Jan Edmund Lazo
2020-01-03 22:47:38 -05:00
parent a2554858df
commit 25613fa65b

View File

@@ -254,13 +254,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()