From 0667077147ea9da13811bf99bd6b960e847af15e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asbj=C3=B8rn=20Sloth=20T=C3=B8nnesen?= Date: Thu, 18 Jul 2019 20:12:47 +0000 Subject: add api versioning 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 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/inet.lua b/test/inet.lua index 587a0b7..26d05e3 100644 --- a/test/inet.lua +++ b/test/inet.lua @@ -286,6 +286,8 @@ local function misc() assert(not inet.is(42)) assert(inet.is(inet('0.0.0.0'))) assert(inet.is(inet('::'))) + + assert(inet.version == 1) end local t = test.new() -- cgit v1.2.1