diff src/testdir/test_timers.vim @ 12351:4e61b77cd96f v8.0.1055

patch 8.0.1055: bufline test hangs on MS-Windows commit https://github.com/vim/vim/commit/11aa62f8f949bb590b4d7792a334885fba5e4137 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Sep 4 22:56:01 2017 +0200 patch 8.0.1055: bufline test hangs on MS-Windows Problem: Bufline test hangs on MS-Windows. Solution: Avoid message for writing file. Source shared.vim when running test individually.
author Christian Brabandt <cb@256bit.org>
date Mon, 04 Sep 2017 23:00:05 +0200
parents 61a9642297cc
children ab0d827151a1
line wrap: on
line diff
--- a/src/testdir/test_timers.vim
+++ b/src/testdir/test_timers.vim
@@ -4,6 +4,10 @@ if !has('timers')
   finish
 endif
 
+if !exists('*WaitFor')
+  source shared.vim
+endif
+
 func MyHandler(timer)
   let g:val += 1
 endfunc