aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/lua/deps.lua
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-11-14 20:39:16 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-11-15 17:30:39 +0200
commitda83f5296a9e41bc55c8a5bd83fdc3bfd7bf5f54 (patch)
tree14bc67a2c9af086a375335621457f404df6bea19 /test/functional/lua/deps.lua
parentfc406133889dc128f44e351c3198994c2e8d1b8e (diff)
downloadrspamd-da83f5296a9e41bc55c8a5bd83fdc3bfd7bf5f54.tar.gz
rspamd-da83f5296a9e41bc55c8a5bd83fdc3bfd7bf5f54.zip
[Minor] Lint rspamadm & test suite scripts
Diffstat (limited to 'test/functional/lua/deps.lua')
-rw-r--r--test/functional/lua/deps.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/lua/deps.lua b/test/functional/lua/deps.lua
index 581825400..55897091e 100644
--- a/test/functional/lua/deps.lua
+++ b/test/functional/lua/deps.lua
@@ -1,5 +1,3 @@
-local logger = require "rspamd_logger"
-
local cb = function(task)
task:insert_result('TOP', 1.0)
end
@@ -29,4 +27,4 @@ rspamd_config:register_dependency('DEP1', 'TOP')
for i = 2,10 do
rspamd_config:register_symbol('DEP' .. tostring(i), 1.0, cb_gen(i - 1))
rspamd_config:register_dependency('DEP' .. tostring(i), 'DEP' .. tostring(i - 1))
-end \ No newline at end of file
+end