fix(tests): initialize Screen.colors in API highlight tests

This commit is contained in:
Jon Huhn 2022-12-10 15:46:34 -06:00
parent 224473546c
commit ea8b828901

View File

@ -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,