Changeset

7511:ef6505962351

test_util_multitable: remove unused one-letter loop variable [luacheck]
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 23 Jul 2016 18:21:21 +0800
parents 7509:d4bd036e679b
children 7512:7a655ff689b1
files tests/test_util_multitable.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test_util_multitable.lua	Thu Jul 21 01:23:32 2016 +0800
+++ b/tests/test_util_multitable.lua	Sat Jul 23 18:21:21 2016 +0800
@@ -27,7 +27,7 @@
 			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