Commit e3798fb6 authored by Kaarle Ritvanen's avatar Kaarle Ritvanen

test: filter-limit: adjust indentation

parent d172644f
......@@ -5,25 +5,25 @@ res = {}
function add(limit_type, base)
for _, count in ipairs{1, 30} do
for _, limit in ipairs{
count, {count=count, log=false}, {count=count, log='none'}
} do
for _, log in ipairs{false, true, 'none'} do
for _, action in ipairs{false, 'pass'} do
if not (count == 30 and log and action) then
table.insert(
res,
util.update(
util.copy(base or {}),
{
[limit_type..'-limit']=limit,
log=log or nil,
action=action or nil
}
)
)
end
end
for _, limit in ipairs{
count, {count=count, log=false}, {count=count, log='none'}
} do
for _, log in ipairs{false, true, 'none'} do
for _, action in ipairs{false, 'pass'} do
if not (count == 30 and log and action) then
table.insert(
res,
util.update(
util.copy(base or {}),
{
[limit_type..'-limit']=limit,
log=log or nil,
action=action or nil
}
)
)
end
end
end
end
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment