1
0
forked from aniani/vim

patch 8.2.4983: colors test fails in the GUI

Problem:    Colors test fails in the GUI.
Solution:   Reset g:terminal_ansi_colors.
This commit is contained in:
Bram Moolenaar
2022-05-20 10:39:18 +01:00
parent b2b3acbf2b
commit b0855f5324
2 changed files with 3 additions and 0 deletions

View 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()