File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -251,21 +251,28 @@ func Test_peek_and_get_char()
251251endfunc
252252
253253func Test_getchar_zero ()
254- call timer_start (20 , {id - > feedkeys (' x' , ' L' )})
254+ if has (' win32' )
255+ " Console: no low-level input
256+ " GUI: somehow doesn't work
257+ return
258+ endif
259+
260+ let id = timer_start (20 , {id - > feedkeys (' x' , ' L' )})
255261 let c = 0
256262 while c == 0
257263 let c = getchar (0 )
258264 sleep 10 m
259265 endwhile
260266 call assert_equal (' x' , nr2char (c ))
267+ call timer_stop (id)
261268endfunc
262269
263270func Test_ex_mode ()
264271 " Function with an empty line.
265272 func Foo (... )
266273
267274 endfunc
268- let timer = timer_start (40 , function (' g:Foo' ), {' repeat' :-1 })
275+ let timer = timer_start (40 , function (' g:Foo' ), {' repeat' :-1 })
269276 " This used to throw error E749.
270277 exe " normal Qsleep 100m\r vi\r "
271278 call timer_stop (timer)
Original file line number Diff line number Diff line change @@ -783,6 +783,8 @@ static char *(features[]) =
783783
784784static int included_patches [] =
785785{ /* Add new patch number below this line */
786+ /**/
787+ 842 ,
786788/**/
787789 841 ,
788790/**/
You can’t perform that action at this time.
0 commit comments