# HG changeset patch # User Bram Moolenaar # Date 1556991004 -7200 # Node ID 1c8a90c4d2a15364f84ff2805c80b8ab64131d07 # Parent 36f7c8df8a665fc4e4ea6e06b435becbc7e7a72c patch 8.1.1268: map completion test fails in GUI commit https://github.com/vim/vim/commit/510671a055c2d7a329c88bf133ac302139fd3221 Author: Bram Moolenaar Date: Sat May 4 19:26:56 2019 +0200 patch 8.1.1268: map completion test fails in GUI Problem: Map completion test fails in GUI. Solution: Skip the test that fails. diff --git a/src/testdir/test_cmdline.vim b/src/testdir/test_cmdline.vim --- a/src/testdir/test_cmdline.vim +++ b/src/testdir/test_cmdline.vim @@ -111,8 +111,10 @@ func Test_map_completion() call feedkeys(":map \[17~x f6x\", 'xt') call feedkeys(":map \\"\", 'xt') call assert_equal('"map ', getreg(':')) - call feedkeys(":map \[17~\\\"\", 'xt') - call assert_equal("\"map x", getreg(':')) + if !has('gui_running') + call feedkeys(":map \[17~\\\"\", 'xt') + call assert_equal("\"map x", getreg(':')) + endif unmap call feedkeys(":unmap \[17~x\", 'xt') set cpo-=< diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -768,6 +768,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1268, +/**/ 1267, /**/ 1266,