From: Bram Moolenaar Date: Tue, 6 Sep 2016 19:33:52 +0000 (+0200) Subject: patch 7.4.2339 X-Git-Tag: v7.4.2339 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=100f5c90f4d4fb40bc3aeabc35192db371f5988f;p=vim patch 7.4.2339 Problem: Tab page test fails when run as fake root. Solution: Check 'buftype' instead of 'filetype'. (James McCoy, closes #1042) --- diff --git a/src/testdir/test_tabpage.vim b/src/testdir/test_tabpage.vim index 0bf7d056d..4bee7956d 100644 --- a/src/testdir/test_tabpage.vim +++ b/src/testdir/test_tabpage.vim @@ -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 diff --git a/src/version.c b/src/version.c index 79628cba7..9214ce7d5 100644 --- a/src/version.c +++ b/src/version.c @@ -763,6 +763,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2339, /**/ 2338, /**/