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.