# HG changeset patch # User Bram Moolenaar # Date 1541268907 -3600 # Node ID 5b06b642fbee89c9e16c594e05230869d9146382 # Parent a8b20fcb97505638435f62c536cf0193f44ef95e patch 8.1.0505: filter command test may fail if helplang is not set commit https://github.com/vim/vim/commit/bd9a0c611ce08f8dce033537bc2f110987b99802 Author: Bram Moolenaar Date: Sat Nov 3 19:00:14 2018 +0100 patch 8.1.0505: filter command test may fail if helplang is not set Problem: Filter command test may fail if helplang is not set. Solution: Set 'helplang' for the test. (James McCoy, closes https://github.com/vim/vim/issues/3591) diff --git a/src/testdir/test_filter_cmd.vim b/src/testdir/test_filter_cmd.vim --- a/src/testdir/test_filter_cmd.vim +++ b/src/testdir/test_filter_cmd.vim @@ -105,8 +105,11 @@ func Test_filter_commands() unlet test_filter_c " Test filtering :set command + let helplang=&helplang + set helplang=en let res = join(split(execute("filter /^help/ set"), "\n")[1:], " ") call assert_match('^\s*helplang=\w*$', res) + let &helplang=helplang " Test filtering :llist command call setloclist(0, [{"filename": "/path/vim.c"}, {"filename": "/path/vim.h"}, {"module": "Main.Test"}]) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -793,6 +793,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 505, +/**/ 504, /**/ 503,