aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_util_cache.lua
diff options
context:
space:
mode:
authorAnton Shestakov <av6@dwimlabs.net>2016-07-09 17:30:23 +0800
committerAnton Shestakov <av6@dwimlabs.net>2016-07-09 17:30:23 +0800
commita7aaab54ebc8602dcdc13525080e06dd99a49e24 (patch)
tree1d12a7fca3164a7ecf480427bd1736fd8983321f /tests/test_util_cache.lua
parent1345988fdd83177216c2905d446d6f6c6852b538 (diff)
downloadprosody-a7aaab54ebc8602dcdc13525080e06dd99a49e24.tar.gz
prosody-a7aaab54ebc8602dcdc13525080e06dd99a49e24.zip
test_util_cache: remove unused argument c3 [luacheck]
Diffstat (limited to 'tests/test_util_cache.lua')
-rw-r--r--tests/test_util_cache.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_util_cache.lua b/tests/test_util_cache.lua
index 78666edc..dea1bf4c 100644
--- a/tests/test_util_cache.lua
+++ b/tests/test_util_cache.lua
@@ -219,7 +219,7 @@ function new(new)
local evicted_key, evicted_value;
- local c3 = new(1, function (_key, _value, c3)
+ local c3 = new(1, function (_key, _value)
evicted_key, evicted_value = _key, _value;
if _key == "a" then
-- Sanity check for what we're evicting