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