mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 9.1.0342: tests: test_taglist fails when 'helplang' contains non-english
Problem: tests: test_taglist fails when 'helplang' contains non-english Solution: Allow 1 or 2 tagfiles for now (Julio B) related: #14312 closes: #14566 Signed-off-by: Julio B <julio.bacel@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
29269a71b5
commit
ae7e61c928
@@ -100,7 +100,10 @@ func Test_tagfiles()
|
|||||||
|
|
||||||
help
|
help
|
||||||
let tf = tagfiles()
|
let tf = tagfiles()
|
||||||
call assert_equal(1, len(tf))
|
" if 'helplang includes another language, then we may find
|
||||||
|
" 2 tagfiles (e.g.: for EN and RU)
|
||||||
|
" we may need to adjust this, if further translated help files are included
|
||||||
|
call assert_inrange(1, 2, len(tf))
|
||||||
call assert_equal(fnamemodify(expand('$VIMRUNTIME/doc/tags'), ':p:gs?\\?/?'),
|
call assert_equal(fnamemodify(expand('$VIMRUNTIME/doc/tags'), ':p:gs?\\?/?'),
|
||||||
\ fnamemodify(tf[0], ':p:gs?\\?/?'))
|
\ fnamemodify(tf[0], ':p:gs?\\?/?'))
|
||||||
helpclose
|
helpclose
|
||||||
|
@@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
342,
|
||||||
/**/
|
/**/
|
||||||
341,
|
341,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user