Permalink
Browse files

patch 7.4.2339

Problem:    Tab page test fails when run as fake root.
Solution:   Check 'buftype' instead of 'filetype'. (James McCoy, closes #1042)
  • Loading branch information...
1 parent 7947312 commit 100f5c90f4d4fb40bc3aeabc35192db371f5988f @brammool brammool committed Sep 6, 2016
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/testdir/test_tabpage.vim
  2. +2 −0 src/version.c
@@ -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
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2339,
+/**/
2338,
/**/
2337,

0 comments on commit 100f5c9

Please sign in to comment.