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 | 17d78fab5dc8d96b7ebf8d6c5a901ddff1992fa7 (patch) | |
tree | b99e161c83d288fad1d0c0e10d248c61ddbb2d9b /tests | |
parent | 0a1f044d219e82e1fd7f3fb05a46cc2ed76bba26 (diff) | |
download | prosody-17d78fab5dc8d96b7ebf8d6c5a901ddff1992fa7.tar.gz prosody-17d78fab5dc8d96b7ebf8d6c5a901ddff1992fa7.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 |