diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-02-01 12:54:22 +0100 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2023-02-10 20:19:04 +0100 |
commit | f8f82901cdd0ccd5308e05c73af6deb7d083720f (patch) | |
tree | d0b5dfbdeb21c4281849365cf45be65bac9af723 /test/functional/shada/shada_spec.lua | |
parent | d6279f9392073cb1422d76c57baf3fd283ed954e (diff) | |
download | rneovim-f8f82901cdd0ccd5308e05c73af6deb7d083720f.tar.gz rneovim-f8f82901cdd0ccd5308e05c73af6deb7d083720f.tar.bz2 rneovim-f8f82901cdd0ccd5308e05c73af6deb7d083720f.zip |
fix(tests): fixes for using vim.mpack and more ASAN
Diffstat (limited to 'test/functional/shada/shada_spec.lua')
-rw-r--r-- | test/functional/shada/shada_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/shada/shada_spec.lua b/test/functional/shada/shada_spec.lua index 88a99d9b55..7b1ce5d0ca 100644 --- a/test/functional/shada/shada_spec.lua +++ b/test/functional/shada/shada_spec.lua @@ -126,11 +126,11 @@ describe('ShaDa support code', function() wshada(s .. table.concat(msgpack, e .. s) .. e) eq(0, exc_exec('wshada ' .. shada_fname)) local found = 0 - local typ = mpack.unpack(s) + local typ = mpack.decode(s) for _, v in ipairs(read_shada_file(shada_fname)) do if v.type == typ then found = found + 1 - eq(mpack.unpack(msgpack[found]), v.timestamp) + eq(mpack.decode(msgpack[found]), v.timestamp) end end eq(#msgpack, found) |