mirror of
https://github.com/vim/vim
synced 2025-07-16 09:12:00 +00:00
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:
@ -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
|
||||
|
||||
|
@ -763,6 +763,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2339,
|
||||
/**/
|
||||
2338,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user