mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
fix(tests): initialize Screen.colors in API highlight tests
This commit is contained in:
parent
224473546c
commit
ea8b828901
@ -11,6 +11,9 @@ local ok = helpers.ok
|
||||
local assert_alive = helpers.assert_alive
|
||||
|
||||
describe('API: highlight',function()
|
||||
clear()
|
||||
Screen.new() -- initialize Screen.colors
|
||||
|
||||
local expected_rgb = {
|
||||
background = Screen.colors.Yellow,
|
||||
foreground = Screen.colors.Red,
|
||||
|
Loading…
Reference in New Issue
Block a user