]> granicus.if.org Git - vim/commitdiff
patch 8.1.1268: map completion test fails in GUI v8.1.1268
authorBram Moolenaar <Bram@vim.org>
Sat, 4 May 2019 17:26:56 +0000 (19:26 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 4 May 2019 17:26:56 +0000 (19:26 +0200)
Problem:    Map completion test fails in GUI.
Solution:   Skip the test that fails.

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

index 91a4b4e8450add3a40db8806a07dbd5ebb817a4e..3b275b617d06817b5dc94aec8400af19c4eb0ef1 100644 (file)
@@ -111,8 +111,10 @@ func Test_map_completion()
   call feedkeys(":map \<Esc>[17~x f6x\<CR>", 'xt')
   call feedkeys(":map <L\<Tab>\<Home>\"\<CR>", 'xt')
   call assert_equal('"map <Left>', getreg(':'))
-  call feedkeys(":map \<Esc>[17~\<Tab>\<Home>\"\<CR>", 'xt')
-  call assert_equal("\"map <F6>x", getreg(':'))
+  if !has('gui_running')
+    call feedkeys(":map \<Esc>[17~\<Tab>\<Home>\"\<CR>", 'xt')
+    call assert_equal("\"map <F6>x", getreg(':'))
+  endif
   unmap <Left>
   call feedkeys(":unmap \<Esc>[17~x\<CR>", 'xt')
   set cpo-=<
index 6877673604d33ce445295b791a9027401dbdc291..98c557363e48b53d99011b139e2733681fbde29c 100644 (file)
@@ -767,6 +767,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1268,
 /**/
     1267,
 /**/