Skip to content

Commit

Permalink
patch 8.1.0505: filter command test may fail if helplang is not set
Browse files Browse the repository at this point in the history
Problem:    Filter command test may fail if helplang is not set.
Solution:   Set 'helplang' for the test. (James McCoy, closes #3591)
  • Loading branch information
brammool committed Nov 3, 2018
1 parent 4dbc262 commit bd9a0c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/testdir/test_filter_cmd.vim
Expand Up @@ -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"}])
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -792,6 +792,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
505,
/**/
504,
/**/
Expand Down

0 comments on commit bd9a0c6

Please sign in to comment.