From 4afd386276bb3c8cebb138b96e16c2b45de003ba Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Tue, 17 Nov 2015 15:52:59 +0100 Subject: [PATCH] test/benchmark: clean up according to luacheck --- test/.luacheckrc | 4 ++++ test/benchmark/bench_re_freeze_spec.lua | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/test/.luacheckrc b/test/.luacheckrc index c9522b1117..a2771a6d55 100644 --- a/test/.luacheckrc +++ b/test/.luacheckrc @@ -2,3 +2,7 @@ std = '+luajit +busted' cache = true +exclude_files = { + 'benchmark/preload.lua', + 'unit/preload.lua' +} diff --git a/test/benchmark/bench_re_freeze_spec.lua b/test/benchmark/bench_re_freeze_spec.lua index 7242f43c8e..d40d9f9ece 100644 --- a/test/benchmark/bench_re_freeze_spec.lua +++ b/test/benchmark/bench_re_freeze_spec.lua @@ -1,7 +1,7 @@ -- Test for benchmarking RE engine. local helpers = require('test.functional.helpers') -local feed, insert, source = helpers.feed, helpers.insert, helpers.source +local insert, source = helpers.insert, helpers.source local clear, execute, wait = helpers.clear, helpers.execute, helpers.wait -- Temporary file for gathering benchmarking results for each regexp engine.