Permalink
Browse files

patch 7.4.2346

Problem:    Autocommand test fails when run directly, passes when run as part
            of test_alot.
Solution:   Add command to make the cursor move.  Close a tab page.
  • Loading branch information...
1 parent 0eaadec commit f18c4dbbe545757ce93563b25380e6f010340b4e @brammool brammool committed Sep 8, 2016
Showing with 6 additions and 0 deletions.
  1. +4 −0 src/testdir/test_autocmd.vim
  2. +2 −0 src/version.c
@@ -13,6 +13,9 @@ if has('timers')
endfunc
func Test_cursorhold_insert()
+ " Need to move the cursor.
+ call feedkeys("ggG", "xt")
+
let g:triggered = 0
au CursorHoldI * let g:triggered += 1
set updatetime=20
@@ -93,6 +96,7 @@ function Test_autocmd_bufwinleave_with_tabfirst()
augroup END
call setline(1, ['a', 'b', 'c'])
edit! a.txt
+ tabclose
endfunc
" SEGV occurs in older versions. (At least 7.4.2321 or older)
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2346,
+/**/
2345,
/**/
2344,

0 comments on commit f18c4db

Please sign in to comment.