diff options
author | Marco Hinz <mh.codebro@gmail.com> | 2016-02-24 01:42:38 +0100 |
---|---|---|
committer | Marco Hinz <mh.codebro@gmail.com> | 2016-02-24 01:42:38 +0100 |
commit | 9a3b7fa9061edc6a4d8e407b904450e88b779946 (patch) | |
tree | 9bfc4ebc308224798a19227ccc09769b714be8ea /test/functional/ui | |
parent | b10c9b4f5b28a50c752ddadc8dc4319546c9d039 (diff) | |
download | rneovim-9a3b7fa9061edc6a4d8e407b904450e88b779946.tar.gz rneovim-9a3b7fa9061edc6a4d8e407b904450e88b779946.tar.bz2 rneovim-9a3b7fa9061edc6a4d8e407b904450e88b779946.zip |
Tests: fix according to lualint
Diffstat (limited to 'test/functional/ui')
-rw-r--r-- | test/functional/ui/bufhl_spec.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/functional/ui/bufhl_spec.lua b/test/functional/ui/bufhl_spec.lua index c73d820c10..58f5b11de0 100644 --- a/test/functional/ui/bufhl_spec.lua +++ b/test/functional/ui/bufhl_spec.lua @@ -1,7 +1,7 @@ local helpers = require('test.functional.helpers') local Screen = require('test.functional.ui.screen') -local clear, feed, nvim, insert = helpers.clear, helpers.feed, helpers.nvim, helpers.insert -local execute, request, eq, neq = helpers.execute, helpers.request, helpers.eq, helpers.neq +local clear, feed, insert = helpers.clear, helpers.feed, helpers.insert +local execute, request, neq = helpers.execute, helpers.request, helpers.neq describe('Buffer highlighting', function() @@ -213,9 +213,9 @@ describe('Buffer highlighting', function() it('prioritizes latest added highlight', function() insert([[ three overlapping colors]]) - id1 = add_hl(0, "Identifier", 0, 6, 17) - id2 = add_hl(0, "Special", 0, 0, 9) - id3 = add_hl(0, "String", 0, 14, 23) + add_hl(0, "Identifier", 0, 6, 17) + add_hl(0, "String", 0, 14, 23) + local id = add_hl(0, "Special", 0, 0, 9) screen:expect([[ {3:three ove}{5:rlapp}{1:ing color}^s | @@ -228,7 +228,7 @@ describe('Buffer highlighting', function() | ]]) - clear_hl(id2, 0, 1) + clear_hl(id, 0, 1) screen:expect([[ three {5:overlapp}{1:ing color}^s | ~ | |