patch 7.4.2339

Problem:    Tab page test fails when run as fake root.
Solution:   Check 'buftype' instead of 'filetype'. (James McCoy, closes #1042)
This commit is contained in:
Bram Moolenaar
2016-09-06 21:33:52 +02:00
parent 7947312871
commit 100f5c90f4
2 changed files with 3 additions and 1 deletions

View File

@ -195,7 +195,7 @@ function Test_tabpage_with_tab_modifier()
exec 'tabnext ' . a:pre_nr
exec a:cmd
call assert_equal(a:post_nr, tabpagenr())
call assert_equal('help', &filetype)
call assert_equal('help', &buftype)
helpclose
endfunc

View File

@ -763,6 +763,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2339,
/**/
2338,
/**/