From b402a1221fcbc231f912037aa6ef5fec02684e79 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Tue, 9 Jun 2026 23:28:35 -0400 Subject: [PATCH] vim-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: vim/vim#14312 closes: vim/vim#14566 https://github.com/vim/vim/commit/ae7e61c928b4adaa220e59ecebc75ef630674207 Co-authored-by: Julio B --- test/old/testdir/test_taglist.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/old/testdir/test_taglist.vim b/test/old/testdir/test_taglist.vim index 869d684987..beb8d9c48b 100644 --- a/test/old/testdir/test_taglist.vim +++ b/test/old/testdir/test_taglist.vim @@ -107,7 +107,10 @@ func Test_tagfiles() " Nvim: expectation(s) based on tags in build dir (added to &rtp). " Filter out the '../../../runtime/doc/tags'. call filter(tf, 'v:val != "../../../runtime/doc/tags"') - 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('$BUILD_DIR/runtime/doc/tags'), ':p:gs?\\?/?'), \ fnamemodify(tf[0], ':p:gs?\\?/?')) helpclose