aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/inet.lua2
1 files changed, 2 insertions, 0 deletions
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()