aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-11-26 22:08:31 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-11-26 22:09:30 -0500
commit585e3ddfc785abfd0022af4f9c84f13e24c41782 (patch)
tree87a491d6349f9ca5062a1e7d3ebbf64b05a3913e /src
parent006beb73c7734247b4d5d1f25afc18dac28af702 (diff)
downloadrneovim-585e3ddfc785abfd0022af4f9c84f13e24c41782.tar.gz
rneovim-585e3ddfc785abfd0022af4f9c84f13e24c41782.tar.bz2
rneovim-585e3ddfc785abfd0022af4f9c84f13e24c41782.zip
vim-patch:8.1.1268: map completion test fails in GUI
Problem: Map completion test fails in GUI. Solution: Skip the test that fails. https://github.com/vim/vim/commit/510671a055c2d7a329c88bf133ac302139fd3221
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_cmdline.vim6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_cmdline.vim b/src/nvim/testdir/test_cmdline.vim
index fe3eaba817..56157bebec 100644
--- a/src/nvim/testdir/test_cmdline.vim
+++ b/src/nvim/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-=<