aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/msgpack_functions_spec.lua
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2021-07-31 00:47:24 +0100
committerSean Dewar <seandewar@users.noreply.github.com>2021-09-16 00:14:47 +0100
commitddaa0cc9bebd8e094a7169f43947f298a3436ba9 (patch)
treee26566fe190550a8d69305a3d0817b20dfea756c /test/functional/eval/msgpack_functions_spec.lua
parent5fdf741f77c3b6ebed9b5cdc0e9d1043080beb3c (diff)
downloadrneovim-ddaa0cc9bebd8e094a7169f43947f298a3436ba9.tar.gz
rneovim-ddaa0cc9bebd8e094a7169f43947f298a3436ba9.tar.bz2
rneovim-ddaa0cc9bebd8e094a7169f43947f298a3436ba9.zip
fix(test/dumplog): tostring(rv) before formatting as string
For example, implicitly converting a table to a string works in LuaJIT, but needs to be done explicitly with tostring() in Lua 5.1. This can cause issues when testing a non-JIT build if eq(), for example, fails with a table argument. E.g: eq({}, {1}) will not print the details of the assertion failure, but will instead print a less helpful "string expected, got table" error.
Diffstat (limited to 'test/functional/eval/msgpack_functions_spec.lua')
0 files changed, 0 insertions, 0 deletions