changeset 26402:9a7fb0665f9f v8.2.3732

patch 8.2.3732: "set! termcap" test fails Commit: https://github.com/vim/vim/commit/cd2f8f0e0007bb77fc2035e6ad6227bb6661c612 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 3 21:18:14 2021 +0000 patch 8.2.3732: "set! termcap" test fails Problem: "set! termcap" test fails. Solution: Account for keys without a t_xx entry.
author Bram Moolenaar <Bram@vim.org>
date Fri, 03 Dec 2021 22:30:04 +0100
parents 71b8e7b260c7
children 42c7018feb34
files src/testdir/test_set.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_set.vim
+++ b/src/testdir/test_set.vim
@@ -62,7 +62,7 @@ func Test_set_termcap()
   endfor
   call assert_true(keys_idx < len(lines))
   " three columns
-  call assert_match('t_.. .*t_.. .*t_.. ', lines[keys_idx + 1])
+  call assert_match('<[^>]*> .*<[^>]*> .*<[^>]*> ', lines[keys_idx + 1])
 
   let more_lines = split(execute('set! termcap'), "\n")
   for i in range(len(more_lines))
--- 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 */
 /**/
+    3732,
+/**/
     3731,
 /**/
     3730,