aboutsummaryrefslogtreecommitdiff
path: root/test/functional/shada
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-02-10 20:51:36 +0100
committerGitHub <noreply@github.com>2023-02-10 20:51:36 +0100
commitb8ad1bfe8bc23ed5ffbfe43df5fda3501f1d2802 (patch)
treeea341bee19c2202cbe94ccefb2afeba953af713e /test/functional/shada
parent4c64cbe99f2616a1d1126257da8d40773f4adba1 (diff)
parent0837980db4958baca96449869d31120f349f3500 (diff)
downloadrneovim-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.lua4
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)