vim-patch:8.1.1268: map completion test fails in GUI

Problem:    Map completion test fails in GUI.
Solution:   Skip the test that fails.
510671a055
This commit is contained in:
Jan Edmund Lazo
2019-11-26 22:08:31 -05:00
parent 006beb73c7
commit 585e3ddfc7

View File

@@ -111,8 +111,10 @@ func Test_map_completion()
call feedkeys(":map \<Esc>[17~x f6x\<CR>", 'xt') call feedkeys(":map \<Esc>[17~x f6x\<CR>", 'xt')
call feedkeys(":map <L\<Tab>\<Home>\"\<CR>", 'xt') call feedkeys(":map <L\<Tab>\<Home>\"\<CR>", 'xt')
call assert_equal('"map <Left>', getreg(':')) call assert_equal('"map <Left>', getreg(':'))
call feedkeys(":map \<Esc>[17~\<Tab>\<Home>\"\<CR>", 'xt') if !has('gui_running')
" call assert_equal("\"map <F6>x", getreg(':')) call feedkeys(":map \<Esc>[17~\<Tab>\<Home>\"\<CR>", 'xt')
" call assert_equal("\"map <F6>x", getreg(':'))
endif
unmap <Left> unmap <Left>
call feedkeys(":unmap \<Esc>[17~x\<CR>", 'xt') call feedkeys(":unmap \<Esc>[17~x\<CR>", 'xt')
set cpo-=< set cpo-=<