Commit: patch 9.1.1118: tests: test_termcodes fails

5 views
Skip to first unread message

Christian Brabandt

unread,
Feb 17, 2025, 2:15:17 PM2/17/25
to vim...@googlegroups.com
patch 9.1.1118: tests: test_termcodes fails

Commit: https://github.com/vim/vim/commit/b34a688ba02ed0da22abcb27ece3e940d63461a8
Author: Christian Brabandt <c...@256bit.org>
Date: Mon Feb 17 20:09:11 2025 +0100

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 <c...@256bit.org>

diff --git a/src/testdir/test_termcodes.vim b/src/testdir/test_termcodes.vim
index 48e5250a0..8fe77b0cf 100644
--- a/src/testdir/test_termcodes.vim
+++ b/src/testdir/test_termcodes.vim
@@ -2775,7 +2775,7 @@ func Test_xterm_direct_enables_termguicolors()

let result=readfile('XTerm-direct.txt')
" 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
bw!
close
diff --git a/src/version.c b/src/version.c
index 22047afd8..29fa07854 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1118,
/**/
1117,
/**/
Reply all
Reply to author
Forward
0 new messages