patch 8.0.0525: completion for user command argument not tested
Solution: Completion for user command argument not tested.
Problem: Add a test.
diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim
index 77c9170..1b0597e 100644
--- a/src/testdir/test_cmdline.vim
+++ b/src/testdir/test_cmdline.vim
@@ -348,6 +348,15 @@
bw!
endfunc
+func Test_cmdline_complete_user_cmd()
+ command! -complete=color -nargs=1 Foo :
+ call feedkeys(":Foo \<Tab>\<Home>\"\<cr>", 'tx')
+ call assert_equal('"Foo blue', @:)
+ call feedkeys(":Foo b\<Tab>\<Home>\"\<cr>", 'tx')
+ call assert_equal('"Foo blue', @:)
+ delcommand Foo
+endfunc
+
" using a leading backslash here
set cpo+=C
diff --git a/src/version.c b/src/version.c
index f490deb..ba3aefc 100644
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 525,
+/**/
524,
/**/
523,