Problem: Filter command test may fail if helplang is not set.
Solution: Set 'helplang' for the test. (James McCoy, closes #3591)
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"}])
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 505,
/**/
504,
/**/