1
0
forked from aniani/vim

patch 8.2.3732: "set! termcap" test fails

Problem:    "set! termcap" test fails.
Solution:   Account for keys without a t_xx entry.
This commit is contained in:
Bram Moolenaar
2021-12-03 21:18:14 +00:00
parent 15a24f0898
commit cd2f8f0e00
2 changed files with 3 additions and 1 deletions

View File

@@ -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))

View File

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