patch 8.1.1403: cannot build without the timer feature
Problem: Cannot build without the timer feature.
Solution: Add #ifdef.
diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim
index 0f48cbd..b6b8a9e 100644
--- a/src/testdir/test_popupwin.vim
+++ b/src/testdir/test_popupwin.vim
@@ -39,6 +39,9 @@
endfunc
func Test_popup_time()
+ if !has('timers')
+ return
+ endif
topleft vnew
call setline(1, 'hello')
@@ -52,6 +55,7 @@
call assert_equal('world', line)
sleep 700m
+ redraw
let line = join(map(range(1, 5), 'screenstring(1, v:val)'), '')
call assert_equal('hello', line)