test: use vim.mpack and vim.uv directly

This commit is contained in:
Lewis Russell
2024-01-12 12:03:25 +00:00
parent 56a2ec5c79
commit 284e0ad26d
31 changed files with 150 additions and 176 deletions

View File

@@ -3,8 +3,6 @@ local meths = helpers.meths
local write_file = helpers.write_file
local concat_tables = helpers.concat_tables
local mpack = require('mpack')
local tmpname = helpers.tmpname()
-- o={
@@ -64,7 +62,7 @@ local read_shada_file = function(fname)
local fd = io.open(fname, 'r')
local mstring = fd:read('*a')
fd:close()
local unpack = mpack.Unpacker()
local unpack = vim.mpack.Unpacker()
local ret = {}
local cur, val
local i = 0