diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-09-06 21:33:52 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-09-06 21:33:52 +0200 |
commit | 100f5c90f4d4fb40bc3aeabc35192db371f5988f (patch) | |
tree | 2a659ab8fb45bfb406ed36c2a9a8197b2f183c7b /src/testdir/test_tabpage.vim | |
parent | 7947312871e7d01cdba058199904c212ec32f1c0 (diff) | |
download | vim-100f5c90f4d4fb40bc3aeabc35192db371f5988f.zip |
patch 7.4.2339
Problem: Tab page test fails when run as fake root.
Solution: Check 'buftype' instead of 'filetype'. (James McCoy, closes #1042)
Diffstat (limited to 'src/testdir/test_tabpage.vim')
-rw-r--r-- | src/testdir/test_tabpage.vim | 2 |
1 files changed, 1 insertions, 1 deletions
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 |