mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04: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:
parent
7947312871
commit
100f5c90f4
@ -195,7 +195,7 @@ function Test_tabpage_with_tab_modifier()
|
|||||||
exec 'tabnext ' . a:pre_nr
|
exec 'tabnext ' . a:pre_nr
|
||||||
exec a:cmd
|
exec a:cmd
|
||||||
call assert_equal(a:post_nr, tabpagenr())
|
call assert_equal(a:post_nr, tabpagenr())
|
||||||
call assert_equal('help', &filetype)
|
call assert_equal('help', &buftype)
|
||||||
helpclose
|
helpclose
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
@ -763,6 +763,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2339,
|
||||||
/**/
|
/**/
|
||||||
2338,
|
2338,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user