mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
vim-patch:8.0.1534: C syntax test fails in gvim #10909
Problem: C syntax test fails when using gvim
Solution: Force running in a terminal. Check that 'background' is correct
even when $COLORFGBG is set.
b7ea7cb8e4
This commit is contained in:

committed by
Justin M. Keyes

parent
801fe799ff
commit
938be1e0ab
@@ -520,10 +520,16 @@ func Test_syntax_c()
|
||||
\ ' }',
|
||||
\ '}',
|
||||
\ ], 'Xtest.c')
|
||||
|
||||
" This makes the default for 'background' use "dark", check that the
|
||||
" response to t_RB corrects it to "light".
|
||||
let $COLORFGBG = '15;0'
|
||||
|
||||
let buf = RunVimInTerminal('Xtest.c', {})
|
||||
call VerifyScreenDump(buf, 'Test_syntax_c_01')
|
||||
call StopVimInTerminal(buf)
|
||||
|
||||
let $COLORFGBG = ''
|
||||
call delete('Xtest.c')
|
||||
endfun
|
||||
|
||||
|
Reference in New Issue
Block a user