mirror of
https://github.com/neovim/neovim.git
synced 2026-09-25 14:58:32 +00: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) https://github.com/vim/vim/commit/100f5c90f4d4fb40bc3aeabc35192db371f5988f
This commit is contained in:
@@ -205,7 +205,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
|
||||
|
||||
|
||||
+1
-1
@@ -102,7 +102,7 @@ static int included_patches[] = {
|
||||
// 2342 NA
|
||||
2341,
|
||||
// 2340 NA
|
||||
// 2339,
|
||||
2339,
|
||||
// 2338 NA
|
||||
2337,
|
||||
2336,
|
||||
|
||||
Reference in New Issue
Block a user