diff options
author | Jon Huhn <huhnjon@gmail.com> | 2022-12-10 15:46:34 -0600 |
---|---|---|
committer | Jon Huhn <huhnjon@gmail.com> | 2022-12-10 15:59:21 -0600 |
commit | ea8b82890179be4243902d88a5241bbc33122aad (patch) | |
tree | eb659eafb19a1c2d78e1ce2f348f958956fbf5dc /test/functional/api/highlight_spec.lua | |
parent | 224473546c95f17c45afc54fe8b4ef5f0e000974 (diff) | |
download | rneovim-ea8b82890179be4243902d88a5241bbc33122aad.tar.gz rneovim-ea8b82890179be4243902d88a5241bbc33122aad.tar.bz2 rneovim-ea8b82890179be4243902d88a5241bbc33122aad.zip |
fix(tests): initialize Screen.colors in API highlight tests
Diffstat (limited to 'test/functional/api/highlight_spec.lua')
-rw-r--r-- | test/functional/api/highlight_spec.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/api/highlight_spec.lua b/test/functional/api/highlight_spec.lua index 3b36563d21..541ac0ab63 100644 --- 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, |