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
commit7a73da002f1103255298713d97365ae16452ac28 (patch)
tree1d12a7fca3164a7ecf480427bd1736fd8983321f /tests/test_util_cache.lua
parent7ebb2bd49371e1d8f3f1382a3883e3570de2543d (diff)
downloadprosody-7a73da002f1103255298713d97365ae16452ac28.tar.gz
prosody-7a73da002f1103255298713d97365ae16452ac28.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