0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 9.1.1118: tests: test_termcodes fails

Problem:  tests: test_termcodes fails
          (after: v9.1.1114)
Solution: adjust the test for the expected termguicolors value

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2025-02-17 20:09:11 +01:00
parent 68ba6c2c6c
commit b34a688ba0
2 changed files with 3 additions and 1 deletions

View File

@@ -2775,7 +2775,7 @@ func Test_xterm_direct_enables_termguicolors()
let result=readfile('XTerm-direct.txt') let result=readfile('XTerm-direct.txt')
" call assert_equal(['', 'TERM: xterm-direct', 'Colors: ' .. colors, 'Termguicolors: 1'], result) " call assert_equal(['', 'TERM: xterm-direct', 'Colors: ' .. colors, 'Termguicolors: 1'], result)
call assert_equal(['', 'TERM: xterm-direct', 'Termguicolors: 1'], result) call assert_equal(['', 'TERM: xterm-direct', 'Termguicolors: 0'], result)
" cleanup " cleanup
bw! bw!
close close

View File

@@ -704,6 +704,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 */
/**/
1118,
/**/ /**/
1117, 1117,
/**/ /**/