vim-patch:7.4.2339

Problem:    Tab page test fails when run as fake root.
Solution:   Check 'buftype' instead of 'filetype'. (James McCoy, closes vim/vim#1042)

100f5c90f4
This commit is contained in:
Justin M. Keyes 2017-03-21 14:11:27 +01:00
parent 89abed7d85
commit 78a4c73cf0
2 changed files with 2 additions and 2 deletions

View File

@ -205,7 +205,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

@ -102,7 +102,7 @@ static int included_patches[] = {
// 2342 NA
2341,
// 2340 NA
// 2339,
2339,
// 2338 NA
2337,
2336,