aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/hlstate_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/ui/hlstate_spec.lua')
-rw-r--r--test/functional/ui/hlstate_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/ui/hlstate_spec.lua b/test/functional/ui/hlstate_spec.lua
index d6fd864536..278e6e5272 100644
--- a/test/functional/ui/hlstate_spec.lua
+++ b/test/functional/ui/hlstate_spec.lua
@@ -3,7 +3,7 @@ local Screen = require('test.functional.ui.screen')
local clear, insert = helpers.clear, helpers.insert
local command = helpers.command
-local meths = helpers.meths
+local api = helpers.api
local testprg = helpers.testprg
local thelpers = require('test.functional.terminal.helpers')
local skip = helpers.skip
@@ -28,8 +28,8 @@ describe('ext_hlstate detailed highlights', function()
insert([[
these are some lines
with colorful text]])
- meths.nvim_buf_add_highlight(0, -1, 'String', 0, 10, 14)
- meths.nvim_buf_add_highlight(0, -1, 'Statement', 1, 5, -1)
+ api.nvim_buf_add_highlight(0, -1, 'String', 0, 10, 14)
+ api.nvim_buf_add_highlight(0, -1, 'Statement', 1, 5, -1)
command('/th co')
screen:expect(