aboutsummaryrefslogtreecommitdiff
path: root/test/helpers.lua
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2018-03-27 01:30:11 +0300
committerZyX <kp-pav@yandex.ru>2018-03-27 01:35:21 +0300
commit920c582320085fa4bf0cf467fff572af47126ff7 (patch)
tree0a4263e94eef3480954d41c9b1e68977b0cbb0db /test/helpers.lua
parentaa728798b4bd89b59cee86103885c15d386f73ba (diff)
downloadrneovim-920c582320085fa4bf0cf467fff572af47126ff7.tar.gz
rneovim-920c582320085fa4bf0cf467fff572af47126ff7.tar.bz2
rneovim-920c582320085fa4bf0cf467fff572af47126ff7.zip
test/helpers: Support booleans
Diffstat (limited to 'test/helpers.lua')
-rw-r--r--test/helpers.lua2
1 files changed, 2 insertions, 0 deletions
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