]> granicus.if.org Git - vim/commitdiff
patch 8.2.0051: command line completion test skipped v8.2.0051
authorBram Moolenaar <Bram@vim.org>
Sat, 28 Dec 2019 13:06:50 +0000 (14:06 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 28 Dec 2019 13:06:50 +0000 (14:06 +0100)
Problem:    Command line completion test skipped. (Christian Brabandt)
Solution:   Invert condition.

src/testdir/test_cmdline.vim
src/version.c

index 38b5826e623e007bbc4c8ec82071551b074515b8..6dc6c89ff665de110848368e9706e637c8392078 100644 (file)
@@ -555,10 +555,9 @@ endfunc
 
 func Test_cmdline_complete_bang()
   if executable('whoami')
-    return
+    call feedkeys(":!whoam\<C-A>\<C-B>\"\<CR>", 'tx')
+    call assert_match('^".*\<whoami\>', @:)
   endif
-  call feedkeys(":!whoam\<C-A>\<C-B>\"\<CR>", 'tx')
-  call assert_match('^".*\<whoami\>', @:)
 endfunc
 
 funct Test_cmdline_complete_languages()
index 568c15649a8209cdd1b80103ce39d259ba250a95..b8c4870163b8e422001cd1a0afc920acf13e4684 100644 (file)
@@ -742,6 +742,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    51,
 /**/
     50,
 /**/