aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_util_multitable.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-07-23 18:58:58 +0200
committerKim Alvefur <zash@zash.se>2016-07-23 18:58:58 +0200
commit35a906e990f5e38c08688997815345f7071b7b4f (patch)
tree5b3d9eec6726161611eafac7f8efdaa3b87d4dff /tests/test_util_multitable.lua
parente8c53c5d209281433aedfd5b3d70e10b06d1dac5 (diff)
parentf0e16572c0b2e83b9d174733ef8b627711dd0031 (diff)
downloadprosody-35a906e990f5e38c08688997815345f7071b7b4f.tar.gz
prosody-35a906e990f5e38c08688997815345f7071b7b4f.zip
Merge 0.10->trunk
Diffstat (limited to 'tests/test_util_multitable.lua')
-rw-r--r--tests/test_util_multitable.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_util_multitable.lua b/tests/test_util_multitable.lua
index 4a8dd14c..45727bc3 100644
--- a/tests/test_util_multitable.lua
+++ b/tests/test_util_multitable.lua
@@ -27,7 +27,7 @@ function get(get, multitable)
return true, "has-all";
end
for n=1,select('#', ...) do should_have[select(n, ...)] = true; end
- for n, item in ipairs(list) do
+ for _, item in ipairs(list) do
if not should_have[item] then return false, "too-many"; end
should_have[item] = nil;
end