diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-26 20:44:10 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-26 20:44:10 +0200 |
commit | 35d5af6c0b618aef9ca87b05b2e184934e47d916 (patch) | |
tree | 13e1e05a10a50c1d95852f2f8846ec613a105252 /src/testdir | |
parent | 51fe3b14f63da2b985bcd7b4c50fbe34ae84ea48 (diff) | |
download | vim-git-35d5af6c0b618aef9ca87b05b2e184934e47d916.tar.gz |
patch 8.1.1403: cannot build without the timer featurev8.1.1403
Problem: Cannot build without the timer feature.
Solution: Add #ifdef.
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_popupwin.vim | 4 |
1 files changed, 4 insertions, 0 deletions
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) |