aboutsummaryrefslogtreecommitdiffstats
path: root/test/inet.lua
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen <ast@2e8.dk>2019-06-03 18:40:17 +0000
committerAsbjørn Sloth Tønnesen <ast@2e8.dk>2019-06-03 18:40:17 +0000
commit8fd0b2cbc4a6fa969b3882bdb1704d9c3ff5ff7a (patch)
tree45e31740de0ef10425b60d790acd3b6fa12e27a2 /test/inet.lua
parentb38f42647b49a2c4fca3ab267f8717be3187ecdf (diff)
downloadlua-inet-8fd0b2cbc4a6fa969b3882bdb1704d9c3ff5ff7a.tar.gz
lua-inet-8fd0b2cbc4a6fa969b3882bdb1704d9c3ff5ff7a.tar.xz
lua-inet-8fd0b2cbc4a6fa969b3882bdb1704d9c3ff5ff7a.zip
fix inspectability
Signed-off-by: Asbjørn Sloth Tønnesen <ast@2e8.dk>
Diffstat (limited to 'test/inet.lua')
-rw-r--r--test/inet.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/inet.lua b/test/inet.lua
index e86c074..22f7185 100644
--- a/test/inet.lua
+++ b/test/inet.lua
@@ -114,6 +114,9 @@ return test.new(function()
end
end
+ -- test inspectablity of metatable
+ assert(#(getmetatable(inet('::/0'))) ~= nil)
+
-- TODO inet6.__le
-- TODO inet6.__eq
end)