test/helpers: Support booleans

This commit is contained in:
ZyX 2018-03-27 01:30:11 +03:00
parent aa728798b4
commit 920c582320

View File

@ -469,6 +469,8 @@ format_luav = function(v, indent, opts)
end
elseif type(v) == 'nil' then
ret = 'nil'
elseif type(v) == 'boolean' then
ret = (v and 'true' or 'false')
else
print(type(v))
-- Not implemented yet