From 8fd0b2cbc4a6fa969b3882bdb1704d9c3ff5ff7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= Date: Mon, 3 Jun 2019 18:40:17 +0000 Subject: fix inspectability MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Asbjørn Sloth Tønnesen --- test/inet.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/inet.lua') 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) -- cgit v1.2.1