summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulio B <julio.bacel@gmail.com>2024-04-16 22:55:04 +0200
committerChristian Brabandt <cb@256bit.org>2024-04-16 22:59:31 +0200
commitae7e61c928b4adaa220e59ecebc75ef630674207 (patch)
tree289b4896d323fec6abd022865610e83b0c16bc9a
parent29269a71b5ac8a87c6c4beca35c173a19a2c9398 (diff)
patch 9.1.0342: tests: test_taglist fails when 'helplang' contains non-englishv9.1.0342
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>
-rw-r--r--src/testdir/test_taglist.vim5
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/testdir/test_taglist.vim b/src/testdir/test_taglist.vim
index 39e78bcb05..2dd236683b 100644
--- a/src/testdir/test_taglist.vim
+++ b/src/testdir/test_taglist.vim
@@ -100,7 +100,10 @@ func Test_tagfiles()
help
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?\\?/?'),
\ fnamemodify(tf[0], ':p:gs?\\?/?'))
helpclose
diff --git a/src/version.c b/src/version.c
index ba64d8fe17..68b58b0b4e 100644
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 342,
+/**/
341,
/**/
340,