Skip to content

Commit

Permalink
patch 9.0.0019: timers test not run where possible
Browse files Browse the repository at this point in the history
Problem:    Timers test not run where possible.
Solution:   Adjust platform checks. (closes #10645)
  • Loading branch information
zeertzjq authored and brammool committed Jul 1, 2022
1 parent 0d878b9 commit eb273cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/testdir/test_timers.vim
Expand Up @@ -298,8 +298,9 @@ func Interrupt(timer)
endfunc

func Test_timer_peek_and_get_char()
CheckUnix
CheckGui
if !has('unix') && !has('gui_running')
throw 'Skipped: cannot feed low-level input'
endif

call timer_start(0, 'FeedAndPeek')
let intr = timer_start(100, 'Interrupt')
Expand All @@ -310,7 +311,7 @@ endfunc

func Test_timer_getchar_zero()
if has('win32') && !has('gui_running')
throw 'Skipped: cannot get low-level input'
throw 'Skipped: cannot feed low-level input'
endif
CheckFunction reltimefloat

Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -735,6 +735,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
19,
/**/
18,
/**/
Expand Down

0 comments on commit eb273cd

Please sign in to comment.