diff options
author | Asbjørn Sloth Tønnesen <ast@fiberby.net> | 2017-03-06 10:54:38 +0000 |
---|---|---|
committer | Asbjørn Sloth Tønnesen <ast@2e8.dk> | 2017-03-06 10:54:38 +0000 |
commit | a2216e14521763e702f69a9bfd046aa15a5b3f52 (patch) | |
tree | 2d676a793e27d66360b470223cc61d9d0ebd5dae /test/inet_set.lua | |
parent | 57d276460839518fdecfcde16f256415417e0164 (diff) | |
download | lua-inet-a2216e14521763e702f69a9bfd046aa15a5b3f52.tar.gz lua-inet-a2216e14521763e702f69a9bfd046aa15a5b3f52.tar.xz lua-inet-a2216e14521763e702f69a9bfd046aa15a5b3f52.zip |
luacheck: clean up
Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Diffstat (limited to 'test/inet_set.lua')
-rw-r--r-- | test/inet_set.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/inet_set.lua b/test/inet_set.lua index ec16d8c..4c673d5 100644 --- a/test/inet_set.lua +++ b/test/inet_set.lua @@ -2,7 +2,7 @@ local inet = require 'inet' local inet_set = require 'inet.set' local test = require 'test' -function agg_set(a, b) +local function agg_set(a, b) inet_set.aggregate(a) assert(#a == #b, 'wrong set size') for i=1,#a do @@ -13,8 +13,6 @@ end return test.new(function() - local ip = inet('10.0.0.0/24') - agg_set({ inet('10.0.0.0/24'), inet('10.0.1.0/24'), |