Mercurial > vim
changeset 10136:13304dccb96e v7.4.2339
commit https://github.com/vim/vim/commit/100f5c90f4d4fb40bc3aeabc35192db371f5988f
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 6 21:33:52 2016 +0200
patch 7.4.2339
Problem: Tab page test fails when run as fake root.
Solution: Check 'buftype' instead of 'filetype'. (James McCoy, closes https://github.com/vim/vim/issues/1042)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 06 Sep 2016 21:45:07 +0200 |
parents | e0f8fb06a5c8 |
children | 8e6070686e81 |
files | src/testdir/test_tabpage.vim src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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