Mercurial > vim
changeset 34973:4ab37aa5cbcf v9.1.0342
patch 9.1.0342: tests: test_taglist fails when 'helplang' contains non-english
Commit: https://github.com/vim/vim/commit/ae7e61c928b4adaa220e59ecebc75ef630674207
Author: Julio B <julio.bacel@gmail.com>
Date: Tue Apr 16 22:55:04 2024 +0200
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>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 16 Apr 2024 23:15:03 +0200 |
parents | 432d87b946e6 |
children | bc40de80d8ec |
files | src/testdir/test_taglist.vim src/version.c |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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