summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-02-23 15:20:03 +0100
committerBram Moolenaar <Bram@vim.org>2017-02-23 15:20:03 +0100
commit1c410400fad79068b16dc4c6c7a023463a0858cf (patch)
treea356a676dd5b1ec2a7114187decd85aa98f188d2 /src
parent3457d295f4035293a78f9a9851ea416f923dd59e (diff)
downloadvim-1c410400fad79068b16dc4c6c7a023463a0858cf.zip
patch 8.0.0354: test to check that setting termcap key fails sometimes
Problem: Test to check that setting termcap key fails sometimes. Solution: Check for "t_k1" to exist. (Christian Brabandt, closes #1459)
Diffstat (limited to 'src')
-rw-r--r--src/testdir/test_assign.vim2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/testdir/test_assign.vim b/src/testdir/test_assign.vim
index 4a4c644cf..efc9d086b 100644
--- a/src/testdir/test_assign.vim
+++ b/src/testdir/test_assign.vim
@@ -15,7 +15,7 @@ func Test_let_termcap()
call assert_match('t_te.*^[[yes;', execute("set termcap"))
let &t_te = old_t_te
- if !has('gui_running')
+ if exists("+t_k1")
" Key code
let old_t_k1 = &t_k1
let &t_k1 = "that"
diff --git a/src/version.c b/src/version.c
index da1ca4b9e..9494e0327 100644
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 354,
+/**/
353,
/**/
352,