0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.0.0304: assign test fails in the GUI

Problem:    Assign test fails in the GUI.
Solution:   Skip the test for setting t_k1.
This commit is contained in:
Bram Moolenaar
2017-02-04 21:50:19 +01:00
parent a1891848d9
commit 1fb0d49803
2 changed files with 9 additions and 5 deletions

View File

@@ -15,11 +15,13 @@ func Test_let_termcap()
call assert_match('t_te.*^[[yes;', execute("set termcap"))
let &t_te = old_t_te
" Key code
let old_t_k1 = &t_k1
let &t_k1 = "that"
call assert_match('t_k1.*that', execute("set termcap"))
let &t_k1 = old_t_k1
if !has('gui_running')
" Key code
let old_t_k1 = &t_k1
let &t_k1 = "that"
call assert_match('t_k1.*that', execute("set termcap"))
let &t_k1 = old_t_k1
endif
call assert_fails('let x = &t_xx', 'E15')
let &t_xx = "yes"

View File

@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
304,
/**/
303,
/**/