changeset 18247:eda5b2cb1dc4 v8.1.2118

patch 8.1.2118: termcodes test fails when $TERM is "dumb" Commit: https://github.com/vim/vim/commit/eb66328bd78c3001d71138306325718cb1c94712 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Oct 6 12:02:15 2019 +0200 patch 8.1.2118: termcodes test fails when $TERM is "dumb" Problem: Termcodes test fails when $TERM is "dumb". Solution: Skip the test. (James McCoy, closes https://github.com/vim/vim/issues/5019)
author Bram Moolenaar <Bram@vim.org>
date Sun, 06 Oct 2019 12:15:04 +0200
parents 86b2892d767d
children 4d15bd9b6829
files src/testdir/test_termcodes.vim src/version.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_termcodes.vim
+++ b/src/testdir/test_termcodes.vim
@@ -798,7 +798,11 @@ func Test_xx_term_style_response()
 endfunc
 
 func Test_get_termcode()
-  let k1 = &t_k1
+  try
+    let k1 = &t_k1
+  catch /E113/
+    throw 'Skipped: Unable to query termcodes'
+  endtry
   set t_k1=
   set t_k1&
   call assert_equal(k1, &t_k1)
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2118,
+/**/
     2117,
 /**/
     2116,