Skip to content

Commit 0d87e3c

Browse files
committed
patch 9.1.0328: CI fails with t_?? test
Problem: CI fails with t_?? test Solution: use assert_match instead of assert_equal and test only until t_xo, depending on system there may be several more termcap codes coming Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent c9df1fb commit 0d87e3c

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/testdir/test_cmdline.vim

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3797,16 +3797,15 @@ func Test_term_option()
37973797
set wildoptions&
37983798
let _cpo = &cpo
37993799
set cpo-=C
3800+
" There may be more, test only until t_xo
38003801
let expected='"set t_AB t_AF t_AU t_AL t_al t_bc t_BE t_BD t_cd t_ce t_Ce t_CF t_cl t_cm'
38013802
\ .. ' t_Co t_CS t_Cs t_cs t_CV t_da t_db t_DL t_dl t_ds t_Ds t_EC t_EI t_fs t_fd t_fe'
38023803
\ .. ' t_GP t_IE t_IS t_ke t_ks t_le t_mb t_md t_me t_mr t_ms t_nd t_op t_RF t_RB t_RC'
38033804
\ .. ' t_RI t_Ri t_RK t_RS t_RT t_RV t_Sb t_SC t_se t_Sf t_SH t_SI t_Si t_so t_SR t_sr'
38043805
\ .. ' t_ST t_Te t_te t_TE t_ti t_TI t_Ts t_ts t_u7 t_ue t_us t_Us t_ut t_vb t_ve t_vi'
3805-
\ .. ' t_VS t_vs t_WP t_WS t_XM t_xn t_xs t_ZH t_ZR t_8f t_8b t_8u t_xo t_#2 t_#4 t_%i'
3806-
\ .. ' t_*7 t_@7 t_F1 t_F2 t_k1 t_k2 t_k3 t_k4 t_k5 t_k6 t_k7 t_k8 t_k9 t_k; t_kB t_kD'
3807-
\ .. ' t_kI t_kN t_kP t_kb t_kd t_kh t_kl t_kr t_ku'
3806+
\ .. ' t_VS t_vs t_WP t_WS t_XM t_xn t_xs t_ZH t_ZR t_8f t_8b t_8u t_xo .*'
38083807
call feedkeys(":set t_\<C-A>\<C-B>\"\<CR>", 'tx')
3809-
call assert_equal(expected, @:)
3808+
call assert_match(expected, @:)
38103809
let &cpo = _cpo
38113810
endfunc
38123811

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,8 @@ static char *(features[]) =
704704

705705
static int included_patches[] =
706706
{ /* Add new patch number below this line */
707+
/**/
708+
328,
707709
/**/
708710
327,
709711
/**/

0 commit comments

Comments
 (0)