diff options
author | ZyX <kp-pav@yandex.ru> | 2018-03-27 01:30:11 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2018-03-27 01:35:21 +0300 |
commit | 920c582320085fa4bf0cf467fff572af47126ff7 (patch) | |
tree | 0a4263e94eef3480954d41c9b1e68977b0cbb0db | |
parent | aa728798b4bd89b59cee86103885c15d386f73ba (diff) | |
download | rneovim-920c582320085fa4bf0cf467fff572af47126ff7.tar.gz rneovim-920c582320085fa4bf0cf467fff572af47126ff7.tar.bz2 rneovim-920c582320085fa4bf0cf467fff572af47126ff7.zip |
test/helpers: Support booleans
-rw-r--r-- | test/helpers.lua | 2 |
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 |