aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/luaeval_spec.lua
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-01-29 23:22:50 +0300
committerZyX <kp-pav@yandex.ru>2017-03-27 00:13:16 +0300
commit9fd2bf67aa1db66e3465753d5aaaec342f4ce193 (patch)
treec07db015f38c00b6ab3bf8c4b76a86910f46ad09 /test/functional/lua/luaeval_spec.lua
parentebad04622056b0cb88e2b25211746b57fb4ef3c2 (diff)
downloadrneovim-9fd2bf67aa1db66e3465753d5aaaec342f4ce193.tar.gz
rneovim-9fd2bf67aa1db66e3465753d5aaaec342f4ce193.tar.bz2
rneovim-9fd2bf67aa1db66e3465753d5aaaec342f4ce193.zip
executor,functests: Add print() tests, some fixes
Diffstat (limited to 'test/functional/lua/luaeval_spec.lua')
-rw-r--r--test/functional/lua/luaeval_spec.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/lua/luaeval_spec.lua b/test/functional/lua/luaeval_spec.lua
index 7973cabae4..6da0001cea 100644
--- a/test/functional/lua/luaeval_spec.lua
+++ b/test/functional/lua/luaeval_spec.lua
@@ -241,6 +241,8 @@ describe('luaeval()', function()
exc_exec([[call luaeval("vim.xxx_nonexistent_key_xxx()")]]))
eq('Vim(call):E5108: Error while calling lua chunk for luaeval(): [string "<VimL compiled string>"]:1: ERROR',
exc_exec([[call luaeval("error('ERROR')")]]))
+ eq('Vim(call):E5108: Error while calling lua chunk for luaeval(): [NULL]',
+ exc_exec([[call luaeval("error(nil)")]]))
end)
it('does not leak memory when called with too long line',