comparison 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
comparison
equal deleted inserted replaced
12350:bf846794075d 12351:4e61b77cd96f
1 " Test for timers 1 " Test for timers
2 2
3 if !has('timers') 3 if !has('timers')
4 finish 4 finish
5 endif
6
7 if !exists('*WaitFor')
8 source shared.vim
5 endif 9 endif
6 10
7 func MyHandler(timer) 11 func MyHandler(timer)
8 let g:val += 1 12 let g:val += 1
9 endfunc 13 endfunc