diff options
| author | bfredl <bjorn.linse@gmail.com> | 2023-02-10 20:51:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-10 20:51:36 +0100 |
| commit | b8ad1bfe8bc23ed5ffbfe43df5fda3501f1d2802 (patch) | |
| tree | ea341bee19c2202cbe94ccefb2afeba953af713e /test/functional/shada | |
| parent | 4c64cbe99f2616a1d1126257da8d40773f4adba1 (diff) | |
| parent | 0837980db4958baca96449869d31120f349f3500 (diff) | |
| download | rneovim-b8ad1bfe8bc23ed5ffbfe43df5fda3501f1d2802.tar.gz rneovim-b8ad1bfe8bc23ed5ffbfe43df5fda3501f1d2802.tar.bz2 rneovim-b8ad1bfe8bc23ed5ffbfe43df5fda3501f1d2802.zip | |
Merge pull request #22077 from bfredl/neolua_client
refactor(tests): integrate lua-client into core and use core for functionaltests
Diffstat (limited to 'test/functional/shada')
| -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) |