]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1118: tests: test_termcodes fails v9.1.1118
authorChristian Brabandt <cb@256bit.org>
Mon, 17 Feb 2025 19:09:11 +0000 (20:09 +0100)
committerChristian Brabandt <cb@256bit.org>
Mon, 17 Feb 2025 19:09:11 +0000 (20:09 +0100)
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>
src/testdir/test_termcodes.vim
src/version.c

index 48e5250a0b57b2eae7eced314389cb52cb4fa288..8fe77b0cf697794172ae76d9941f11be68d3611c 100644 (file)
@@ -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
index 22047afd8d04e52453e6a25ac51fd294be3efe0d..29fa07854a5625fa7db49dca5321a0ae5ff98bf7 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1118,
 /**/
     1117,
 /**/