From 920c582320085fa4bf0cf467fff572af47126ff7 Mon Sep 17 00:00:00 2001 From: ZyX Date: Tue, 27 Mar 2018 01:30:11 +0300 Subject: [PATCH] test/helpers: Support booleans --- test/helpers.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/helpers.lua b/test/helpers.lua index 91ceed4df1..7cce6d8c55 100644 --- a/test/helpers.lua +++ b/test/helpers.lua @@ -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