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
commit6b59d7d9da7d8ebe92a5f2bf93a76ac98b057241 (patch)
tree5b3d9eec6726161611eafac7f8efdaa3b87d4dff /tests/test_util_multitable.lua
parent96713c8ff024e30feb1ef77b86542600e8873229 (diff)
parent2c6065e198926e5026d51a2b0effe9223dd2cd01 (diff)
downloadprosody-6b59d7d9da7d8ebe92a5f2bf93a76ac98b057241.tar.gz
prosody-6b59d7d9da7d8ebe92a5f2bf93a76ac98b057241.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