comparison src/testdir/test_timers.vim @ 19249:2a017e9dc6da v8.2.0183

patch 8.2.0183: tests fail when the float feature is disabled Commit: https://github.com/vim/vim/commit/5feabe00c47fa66d5f4c95213f150488433f78e3 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 30 18:24:53 2020 +0100 patch 8.2.0183: tests fail when the float feature is disabled Problem: Tests fail when the float feature is disabled. Solution: Skip tests that don't work without float support.
author Bram Moolenaar <Bram@vim.org>
date Thu, 30 Jan 2020 18:30:04 +0100
parents 8696f0ebeb43
children 2f0f308c069c
comparison
equal deleted inserted replaced
19248:5e803caf5e9c 19249:2a017e9dc6da
288 288
289 func Test_timer_getchar_zero() 289 func Test_timer_getchar_zero()
290 if has('win32') && !has('gui_running') 290 if has('win32') && !has('gui_running')
291 throw 'Skipped: cannot get low-level input' 291 throw 'Skipped: cannot get low-level input'
292 endif 292 endif
293 CheckFunction reltimefloat
293 294
294 " Measure the elapsed time to avoid a hang when it fails. 295 " Measure the elapsed time to avoid a hang when it fails.
295 let start = reltime() 296 let start = reltime()
296 let id = timer_start(20, {-> feedkeys('x', 'L')}) 297 let id = timer_start(20, {-> feedkeys('x', 'L')})
297 let c = 0 298 let c = 0