From 35d5af6c0b618aef9ca87b05b2e184934e47d916 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 26 May 2019 20:44:10 +0200 Subject: patch 8.1.1403: cannot build without the timer feature Problem: Cannot build without the timer feature. Solution: Add #ifdef. --- src/testdir/test_popupwin.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/testdir') diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim index 0f48cbd9a..b6b8a9eaa 100644 --- a/src/testdir/test_popupwin.vim +++ b/src/testdir/test_popupwin.vim @@ -39,6 +39,9 @@ func Test_simple_popup() endfunc func Test_popup_time() + if !has('timers') + return + endif topleft vnew call setline(1, 'hello') @@ -52,6 +55,7 @@ func Test_popup_time() call assert_equal('world', line) sleep 700m + redraw let line = join(map(range(1, 5), 'screenstring(1, v:val)'), '') call assert_equal('hello', line) -- cgit v1.2.1