Merge pull request #21375 from nojnhuh/highlight-test

fix(tests): initialize Screen.colors in API highlight tests
This commit is contained in:
bfredl
2022-12-12 22:11:39 +01:00
committed by GitHub

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,