Patch 8.1.2099
Problem: state() test fails on some Mac systems.
Solution: Increase the wait time. (closes #4983)
Files: src/testdir/test_functions.vim
*** ../vim-8.1.2098/src/testdir/test_functions.vim 2019-09-29
14:36:26.051559456 +0200
--- src/testdir/test_functions.vim 2019-09-29 14:36:26.051559456 +0200
***************
*** 1667,1672 ****
--- 1667,1673 ----
let lines =<< trim END
call setline(1, ['one', 'two', 'three'])
map ;; gg
+ set complete=.
func RunTimer()
call timer_start(10, {id -> execute('let g:state = state()') ..
execute('let g:mode = mode()')})
endfunc
***************
*** 1694,1702 ****
call term_sendkeys(buf, getstate)
call WaitForAssert({-> assert_match('state: mSc; mode: n',
term_getline(buf, 6))}, 1000)
! " Insert mode completion
call term_sendkeys(buf, ":call RunTimer()\<CR>Got\<C-N>")
! call term_wait(buf, 50)
call term_sendkeys(buf, "\<Esc>")
call term_sendkeys(buf, getstate)
call WaitForAssert({-> assert_match('state: aSc; mode: i',
term_getline(buf, 6))}, 1000)
--- 1695,1703 ----
call term_sendkeys(buf, getstate)
call WaitForAssert({-> assert_match('state: mSc; mode: n',
term_getline(buf, 6))}, 1000)
! " Insert mode completion (bit slower on Mac)
call term_sendkeys(buf, ":call RunTimer()\<CR>Got\<C-N>")
! call term_wait(buf, 200)
call term_sendkeys(buf, "\<Esc>")
call term_sendkeys(buf, getstate)
call WaitForAssert({-> assert_match('state: aSc; mode: i',
term_getline(buf, 6))}, 1000)
*** ../vim-8.1.2098/src/version.c 2019-09-28 19:08:41.679541071 +0200
--- src/version.c 2019-09-28 19:28:55.221392854 +0200
***************
*** 755,756 ****
--- 755,758 ----
{ /* Add new patch number below this line */
+ /**/
+ 2099,
/**/
--
A poem: read aloud:
<> !*''# Waka waka bang splat tick tick hash,
^"`$$- Caret quote back-tick dollar dollar dash,
!*=@$_ Bang splat equal at dollar under-score,
%*<> ~#4 Percent splat waka waka tilde number four,
&[]../ Ampersand bracket bracket dot dot slash,
|{,,SYSTEM HALTED Vertical-bar curly-bracket comma comma CRASH.
Fred Bremmer and Steve Kroese (Calvin College & Seminary of Grand Rapids, MI.)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/201909291239.x8TCdHB9026780%40masaka.moolenaar.net.