neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit ea8b82890179be4243902d88a5241bbc33122aad
parent 224473546c95f17c45afc54fe8b4ef5f0e000974
Author: Jon Huhn <huhnjon@gmail.com>
Date:   Sat, 10 Dec 2022 15:46:34 -0600

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

Diffstat:
Mtest/functional/api/highlight_spec.lua | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/test/functional/api/highlight_spec.lua b/test/functional/api/highlight_spec.lua @@ -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,