mirror of
https://github.com/neovim/neovim.git
synced 2025-01-01 17:23:36 -07:00
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:
parent
89abed7d85
commit
78a4c73cf0
@ -205,7 +205,7 @@ function Test_tabpage_with_tab_modifier()
|
|||||||
exec 'tabnext ' . a:pre_nr
|
exec 'tabnext ' . a:pre_nr
|
||||||
exec a:cmd
|
exec a:cmd
|
||||||
call assert_equal(a:post_nr, tabpagenr())
|
call assert_equal(a:post_nr, tabpagenr())
|
||||||
call assert_equal('help', &filetype)
|
call assert_equal('help', &buftype)
|
||||||
helpclose
|
helpclose
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ static int included_patches[] = {
|
|||||||
// 2342 NA
|
// 2342 NA
|
||||||
2341,
|
2341,
|
||||||
// 2340 NA
|
// 2340 NA
|
||||||
// 2339,
|
2339,
|
||||||
// 2338 NA
|
// 2338 NA
|
||||||
2337,
|
2337,
|
||||||
2336,
|
2336,
|
||||||
|
Loading…
Reference in New Issue
Block a user