diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-10-07 12:24:30 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2017-10-07 12:32:20 +0300 |
commit | e3798fb682ef5819d21796644b051ad262e7317d (patch) | |
tree | 7fd05aa5b5b05f86167a12235a83a4b74c672226 /test | |
parent | d172644f178113b315da1ea06e4fc954b9e4f771 (diff) | |
download | awall-e3798fb682ef5819d21796644b051ad262e7317d.tar.bz2 awall-e3798fb682ef5819d21796644b051ad262e7317d.tar.xz |
test: filter-limit: adjust indentation
Diffstat (limited to 'test')
-rw-r--r-- | test/mandatory/filter-limit.lua | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/test/mandatory/filter-limit.lua b/test/mandatory/filter-limit.lua index 45fd704..73bb6c0 100644 --- a/test/mandatory/filter-limit.lua +++ b/test/mandatory/filter-limit.lua @@ -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 |