From 360d0513d1ba2d6e2b8948daad5bb56f11db7070 Mon Sep 17 00:00:00 2001 From: KillTheMule Date: Tue, 26 Apr 2016 21:14:33 +0200 Subject: Satisfy testlint. For that, make luatest ignore the preload.lua files. --- test/functional/eval/json_functions_spec.lua | 1 + test/functional/eval/special_vars_spec.lua | 4 ++-- test/functional/eval/string_spec.lua | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'test/functional/eval') diff --git a/test/functional/eval/json_functions_spec.lua b/test/functional/eval/json_functions_spec.lua index 1cece78ce1..b32688a9d2 100644 --- a/test/functional/eval/json_functions_spec.lua +++ b/test/functional/eval/json_functions_spec.lua @@ -7,6 +7,7 @@ local eval = helpers.eval local execute = helpers.execute local exc_exec = helpers.exc_exec local redir_exec = helpers.redir_exec +local NIL = helpers.NIL describe('json_decode() function', function() local restart = function(cmd) diff --git a/test/functional/eval/special_vars_spec.lua b/test/functional/eval/special_vars_spec.lua index 6ab4e6a7d7..2526483830 100644 --- a/test/functional/eval/special_vars_spec.lua +++ b/test/functional/eval/special_vars_spec.lua @@ -1,12 +1,12 @@ local helpers = require('test.functional.helpers') local exc_exec = helpers.exc_exec local execute = helpers.execute -local meths = helpers.meths local funcs = helpers.funcs -local meths = helpers.meths local clear = helpers.clear local eval = helpers.eval local eq = helpers.eq +local meths = helpers.meths +local NIL = helpers.NIL describe('Special values', function() before_each(clear) diff --git a/test/functional/eval/string_spec.lua b/test/functional/eval/string_spec.lua index 0fd7587edb..abda2c59cb 100644 --- a/test/functional/eval/string_spec.lua +++ b/test/functional/eval/string_spec.lua @@ -8,6 +8,7 @@ local exc_exec = helpers.exc_exec local redir_exec = helpers.redir_exec local funcs = helpers.funcs local write_file = helpers.write_file +local NIL = helpers.NIL describe('string() function', function() before_each(clear) -- cgit