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:
@@ -62,7 +62,7 @@ func Test_set_termcap()
|
|||||||
endfor
|
endfor
|
||||||
call assert_true(keys_idx < len(lines))
|
call assert_true(keys_idx < len(lines))
|
||||||
" three columns
|
" 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")
|
let more_lines = split(execute('set! termcap'), "\n")
|
||||||
for i in range(len(more_lines))
|
for i in range(len(more_lines))
|
||||||
|
@@ -753,6 +753,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3732,
|
||||||
/**/
|
/**/
|
||||||
3731,
|
3731,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user