File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -185,12 +185,15 @@ func s:communicate(port)
185185 call assert_equal (' ok' , ch_sendexpr (handle, ' empty-request' ))
186186
187187 " Reading while there is nothing available.
188- call assert_equal (v: none , ch_read (handle, {' timeout' : 0 }))
189- let start = reltime ()
190- call assert_equal (v: none , ch_read (handle, {' timeout' : 333 }))
191- let elapsed = reltime (start )
192- call assert_true (reltimefloat (elapsed) > 0.3 )
193- call assert_true (reltimefloat (elapsed) < 0.6 )
188+ " TODO: make this work for MS-Windows
189+ if has (' unix' )
190+ call assert_equal (v: none , ch_read (handle, {' timeout' : 0 }))
191+ let start = reltime ()
192+ call assert_equal (v: none , ch_read (handle, {' timeout' : 333 }))
193+ let elapsed = reltime (start )
194+ call assert_true (reltimefloat (elapsed) > 0.3 )
195+ call assert_true (reltimefloat (elapsed) < 0.6 )
196+ endif
194197
195198 " Send without waiting for a response, then wait for a response.
196199 call ch_sendexpr (handle, ' wait a bit' , {' callback' : 0 })
Original file line number Diff line number Diff line change @@ -747,6 +747,8 @@ static char *(features[]) =
747747
748748static int included_patches [] =
749749{ /* Add new patch number below this line */
750+ /**/
751+ 1374 ,
750752/**/
751753 1373 ,
752754/**/
You can’t perform that action at this time.
0 commit comments