aboutsummaryrefslogtreecommitdiff
path: root/test/helpers.lua
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-10-15 20:05:35 +0300
committerZyX <kp-pav@yandex.ru>2017-10-15 20:05:35 +0300
commit6c19cbef2611c389da6f3e06d8c8eb635d065774 (patch)
tree6c04461133ff062f1a320630a85bf333ab810306 /test/helpers.lua
parent206f7ae76a4a06c6bac10402649e515dd3fb2365 (diff)
downloadrneovim-6c19cbef2611c389da6f3e06d8c8eb635d065774.tar.gz
rneovim-6c19cbef2611c389da6f3e06d8c8eb635d065774.tar.bz2
rneovim-6c19cbef2611c389da6f3e06d8c8eb635d065774.zip
viml/parser/expressions,tests: Add AST freeing, with sanity checks
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 6a42963d7f..83e78ba059 100644
--- a/test/helpers.lua
+++ b/test/helpers.lua
@@ -358,6 +358,8 @@ format_luav = function(v, indent)
else
ret = ('%e'):format(v)
end
+ elseif type(v) == 'nil' then
+ ret = 'nil'
else
print(type(v))
-- Not implemented yet