# HG changeset patch # User Bram Moolenaar # Date 1653039903 -7200 # Node ID 995bc7ba8d5b107d0b248c24c867243be47836e0 # Parent 6e62210532e009736e93fd897c52ef25449040a9 patch 8.2.4983: colors test fails in the GUI Commit: https://github.com/vim/vim/commit/b0855f5324b348921d412d97193e8c8bc3b5d1dd Author: Bram Moolenaar Date: Fri May 20 10:39:18 2022 +0100 patch 8.2.4983: colors test fails in the GUI Problem: Colors test fails in the GUI. Solution: Reset g:terminal_ansi_colors. diff --git a/src/testdir/test_functions.vim b/src/testdir/test_functions.vim --- a/src/testdir/test_functions.vim +++ b/src/testdir/test_functions.vim @@ -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() diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -747,6 +747,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4983, +/**/ 4982, /**/ 4981,