Mercurial > vim
changeset 16529:1c8a90c4d2a1 v8.1.1268
patch 8.1.1268: map completion test fails in GUI
commit https://github.com/vim/vim/commit/510671a055c2d7a329c88bf133ac302139fd3221
Author: Bram Moolenaar <Bram@vim.org>
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 04 May 2019 19:30:04 +0200 |
parents | 36f7c8df8a66 |
children | 9b8ed9cc40db |
files | src/testdir/test_cmdline.vim src/version.c |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_cmdline.vim +++ b/src/testdir/test_cmdline.vim @@ -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-=<