aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2016-02-24 01:42:38 +0100
committerMarco Hinz <mh.codebro@gmail.com>2016-02-24 01:42:38 +0100
commit9a3b7fa9061edc6a4d8e407b904450e88b779946 (patch)
tree9bfc4ebc308224798a19227ccc09769b714be8ea /test/functional/legacy
parentb10c9b4f5b28a50c752ddadc8dc4319546c9d039 (diff)
downloadrneovim-9a3b7fa9061edc6a4d8e407b904450e88b779946.tar.gz
rneovim-9a3b7fa9061edc6a4d8e407b904450e88b779946.tar.bz2
rneovim-9a3b7fa9061edc6a4d8e407b904450e88b779946.zip
Tests: fix according to lualint
Diffstat (limited to 'test/functional/legacy')
-rw-r--r--test/functional/legacy/036_regexp_character_classes_spec.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/functional/legacy/036_regexp_character_classes_spec.lua b/test/functional/legacy/036_regexp_character_classes_spec.lua
index 205922eac2..3c264423ff 100644
--- a/test/functional/legacy/036_regexp_character_classes_spec.lua
+++ b/test/functional/legacy/036_regexp_character_classes_spec.lua
@@ -2,13 +2,12 @@
local helpers = require('test.functional.helpers')
local ffi = require('ffi')
-local feed, insert, source = helpers.feed, helpers.insert, helpers.source
-local clear, execute, expect, eq, eval = helpers.clear, helpers.execute, helpers.expect, helpers.eq, helpers.eval
-local write_file = helpers.write_file
+local clear, execute, expect = helpers.clear, helpers.execute, helpers.expect
+local source, write_file = helpers.source, helpers.write_file
local function sixlines(text)
local result = ''
- for i = 1, 6 do
+ for _ = 1, 6 do
result = result .. text .. '\n'
end
return result