patch 9.2.0459: tests: test_termcodes fails (after v9.2.0456)

Problem:  tests: test_termcodes fails, because it disabled DECRQM, but
          did not adjust the expected values in the test (after v9.2.0456)
Solution: Update the test

related: #20161
closes:  #20173

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2026-05-09 14:13:52 +00:00
parent fbec828c7e
commit 124f8becec
2 changed files with 9 additions and 7 deletions
+7 -7
View File
@@ -1720,7 +1720,7 @@ func Test_xx01_term_style_response()
\ underline_rgb: 'u',
\ mouse: 's',
\ kitty: 'u',
\ decrqm: 'y'
\ decrqm: 'u'
\ }, terminalprops())
set t_RV=
@@ -1777,7 +1777,7 @@ func Run_libvterm_konsole_response(code)
\ underline_rgb: 'u',
\ mouse: 's',
\ kitty: 'u',
\ decrqm: 'y'
\ decrqm: 'u'
\ }, terminalprops())
endfunc
@@ -1853,7 +1853,7 @@ func Test_xx05_mintty_response()
\ underline_rgb: 'y',
\ mouse: 's',
\ kitty: 'u',
\ decrqm: 'y'
\ decrqm: 'u'
\ }, terminalprops())
set t_RV=
@@ -1916,7 +1916,7 @@ func Do_check_t_8u_set_reset(set_by_user)
\ underline_rgb: 'u',
\ mouse: 's',
\ kitty: 'u',
\ decrqm: 'y'
\ decrqm: 'u'
\ }, terminalprops())
call assert_equal(a:set_by_user ? default_value : '', &t_8u)
endfunc
@@ -1956,7 +1956,7 @@ func Test_xx07_xterm_response()
\ underline_rgb: 'y',
\ mouse: 'u',
\ kitty: 'u',
\ decrqm: 'y'
\ decrqm: 'u'
\ }, terminalprops())
" xterm >= 95 < 277 "xterm2"
@@ -1973,7 +1973,7 @@ func Test_xx07_xterm_response()
\ underline_rgb: 'u',
\ mouse: '2',
\ kitty: 'u',
\ decrqm: 'y'
\ decrqm: 'u'
\ }, terminalprops())
" xterm >= 277: "sgr"
@@ -1990,7 +1990,7 @@ func Test_xx07_xterm_response()
\ underline_rgb: 'u',
\ mouse: 's',
\ kitty: 'u',
\ decrqm: 'y'
\ decrqm: 'u'
\ }, terminalprops())
" xterm >= 279: "sgr" and cursor_style not reset; also check t_8u reset,
+2
View File
@@ -729,6 +729,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
459,
/**/
458,
/**/