mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -04:00
patch 8.1.1472: add_termcap_entry() is not tested
Problem: Add_termcap_entry() is not tested. Solution: Add a simple test.
This commit is contained in:
parent
32e1977012
commit
de6dbb452a
@ -626,7 +626,6 @@ func Test_xterm_mouse_click_in_fold_columns()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
" This only checks if the sequence is recognized.
|
" This only checks if the sequence is recognized.
|
||||||
" TODO: check that the values were parsed properly
|
|
||||||
func Test_term_rgb_response()
|
func Test_term_rgb_response()
|
||||||
set t_RF=x
|
set t_RF=x
|
||||||
set t_RB=y
|
set t_RB=y
|
||||||
@ -712,3 +711,10 @@ func Test_xx_term_style_response()
|
|||||||
|
|
||||||
set t_RV=
|
set t_RV=
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
func Test_get_termcode()
|
||||||
|
let k1 = &t_k1
|
||||||
|
set t_k1=
|
||||||
|
set t_k1&
|
||||||
|
call assert_equal(k1, &t_k1)
|
||||||
|
endfunc
|
||||||
|
@ -767,6 +767,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 */
|
||||||
|
/**/
|
||||||
|
1472,
|
||||||
/**/
|
/**/
|
||||||
1471,
|
1471,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user