diff options
author | Anton Shestakov <av6@dwimlabs.net> | 2016-07-23 18:21:21 +0800 |
---|---|---|
committer | Anton Shestakov <av6@dwimlabs.net> | 2016-07-23 18:21:21 +0800 |
commit | 10ddc4298e4cedcce76b6a8d4c75347d5457b442 (patch) | |
tree | b99e161c83d288fad1d0c0e10d248c61ddbb2d9b /tests | |
parent | 1659995fb562c786705ae4f34e94813b0874b2b7 (diff) | |
download | prosody-10ddc4298e4cedcce76b6a8d4c75347d5457b442.tar.gz prosody-10ddc4298e4cedcce76b6a8d4c75347d5457b442.zip |
test_util_multitable: remove unused one-letter loop variable [luacheck]
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_util_multitable.lua | 2 |
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 |