aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/highlight_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/ui/highlight_spec.lua')
-rw-r--r--test/functional/ui/highlight_spec.lua12
1 files changed, 5 insertions, 7 deletions
diff --git a/test/functional/ui/highlight_spec.lua b/test/functional/ui/highlight_spec.lua
index 417c27db04..52ab3cb5bf 100644
--- a/test/functional/ui/highlight_spec.lua
+++ b/test/functional/ui/highlight_spec.lua
@@ -29,14 +29,12 @@ end)
describe('Default highlight groups', function()
-- Test the default attributes for highlight groups shown by the :highlight
-- command
- local screen, hlgroup_colors
+ local screen
- setup(function()
- hlgroup_colors = {
- NonText = nvim('name_to_color', 'Blue'),
- Question = nvim('name_to_color', 'SeaGreen')
- }
- end)
+ local hlgroup_colors = {
+ NonText = Screen.colors.Blue,
+ Question = Screen.colors.SeaGreen
+ }
before_each(function()
clear()