aboutsummaryrefslogtreecommitdiff
path: root/test/functional/plugin/shada_spec.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2024-01-12 12:03:25 +0000
committerLewis Russell <lewis6991@gmail.com>2024-01-12 12:04:20 +0000
commit284e0ad26dd9de90c3a813dd1b357a425eca6bad (patch)
tree55b60f82154a6aadbd3c53e6441e0b2c590f11f6 /test/functional/plugin/shada_spec.lua
parent56a2ec5c79d49421758319f1a8822cf30f1f8a5e (diff)
downloadrneovim-284e0ad26dd9de90c3a813dd1b357a425eca6bad.tar.gz
rneovim-284e0ad26dd9de90c3a813dd1b357a425eca6bad.tar.bz2
rneovim-284e0ad26dd9de90c3a813dd1b357a425eca6bad.zip
test: use vim.mpack and vim.uv directly
Diffstat (limited to 'test/functional/plugin/shada_spec.lua')
-rw-r--r--test/functional/plugin/shada_spec.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/plugin/shada_spec.lua b/test/functional/plugin/shada_spec.lua
index ef3fef1897..59ddd8f3ce 100644
--- a/test/functional/plugin/shada_spec.lua
+++ b/test/functional/plugin/shada_spec.lua
@@ -14,8 +14,6 @@ local eq, meths, nvim_eval, nvim_command, nvim, exc_exec, funcs, nvim_feed, curb
local neq = helpers.neq
local read_file = helpers.read_file
-local mpack = require('mpack')
-
local shada_helpers = require('test.functional.shada.helpers')
local get_shada_rw = shada_helpers.get_shada_rw
@@ -26,7 +24,7 @@ end
local mpack_eq = function(expected, mpack_result)
local mpack_keys = { 'type', 'timestamp', 'length', 'value' }
- local unpack = mpack.Unpacker()
+ local unpack = vim.mpack.Unpacker()
local actual = {}
local cur, val
local i = 0