Skip to content

Commit 510671a

Browse files
committed
patch 8.1.1268: map completion test fails in GUI
Problem: Map completion test fails in GUI. Solution: Skip the test that fails.
1 parent 4b8366b commit 510671a

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/testdir/test_cmdline.vim

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,10 @@ func Test_map_completion()
111111
call feedkeys(":map \<Esc>[17~x f6x\<CR>", 'xt')
112112
call feedkeys(":map <L\<Tab>\<Home>\"\<CR>", 'xt')
113113
call assert_equal('"map <Left>', getreg(':'))
114-
call feedkeys(":map \<Esc>[17~\<Tab>\<Home>\"\<CR>", 'xt')
115-
call assert_equal("\"map <F6>x", getreg(':'))
114+
if !has('gui_running')
115+
call feedkeys(":map \<Esc>[17~\<Tab>\<Home>\"\<CR>", 'xt')
116+
call assert_equal("\"map <F6>x", getreg(':'))
117+
endif
116118
unmap <Left>
117119
call feedkeys(":unmap \<Esc>[17~x\<CR>", 'xt')
118120
set cpo-=<

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,6 +767,8 @@ static char *(features[]) =
767767

768768
static int included_patches[] =
769769
{ /* Add new patch number below this line */
770+
/**/
771+
1268,
770772
/**/
771773
1267,
772774
/**/

0 commit comments

Comments
 (0)