]> granicus.if.org Git - vim/commitdiff
patch 8.2.4983: colors test fails in the GUI v8.2.4983
authorBram Moolenaar <Bram@vim.org>
Fri, 20 May 2022 09:39:18 +0000 (10:39 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 20 May 2022 09:39:18 +0000 (10:39 +0100)
Problem:    Colors test fails in the GUI.
Solution:   Reset g:terminal_ansi_colors.

src/testdir/test_functions.vim
src/version.c

index 68dbb0aa09f4845b8ce5354039b33020e5c68229..1a05a590fc20a81ce414ea6f8a90794595de8989 100644 (file)
@@ -2681,6 +2681,7 @@ func Test_range()
     endif
     call assert_fails('call term_start("' .. cmd .. '", #{term_finish: "close"'
         \ .. ', ansi_colors: range(16)})', 'E475:')
+    unlet g:terminal_ansi_colors
   endif
 
   " type()
index e758e81ea88493615a2e3303a9b8c27db420242c..1ac4560295051fb3bfc3ac6e6a19524c449a98b3 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4983,
 /**/
     4982,
 /**/