mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +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
|
||||
|
||||
describe('API: highlight',function()
|
||||
clear()
|
||||
Screen.new() -- initialize Screen.colors
|
||||
|
||||
local expected_rgb = {
|
||||
background = Screen.colors.Yellow,
|
||||
foreground = Screen.colors.Red,
|
||||
|
Reference in New Issue
Block a user