Problem: No test for improved Man command.
Solution: Test that shell arguments are properly escaped.
%bw!
endfunc
+" Check that underlying shell command arguments are escaped.
+func Test_Man_uses_shellescape()
+ Man `touch\ Xbar` `touch\ Xfoo`
+
+ redir => msg
+ 1messages
+ redir END
+ call assert_match('no manual entry for "`touch Xfoo`"', msg)
+
+ call assert_false(filereadable('Xbar'))
+ call assert_false(filereadable('Xfoo'))
+endfunc
+
+
" vim: shiftwidth=2 sts=2 expandtab
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1917,
/**/
1916,
/**/