aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-test/helpers.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/mason-test/helpers.lua')
-rw-r--r--lua/mason-test/helpers.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/mason-test/helpers.lua b/lua/mason-test/helpers.lua
index 149589bf..2348e9df 100644
--- a/lua/mason-test/helpers.lua
+++ b/lua/mason-test/helpers.lua
@@ -10,9 +10,9 @@ local M = {}
---@param opts? { install_opts?: PackageInstallOpts, package?: string }
function M.create_context(opts)
local pkg = registry.get_package(opts and opts.package or "dummy")
- local handle = InstallHandle.new(pkg)
+ local handle = InstallHandle:new(pkg)
local location = InstallLocation.global()
- local context = InstallContext.new(handle, location, opts and opts.install_opts or {})
+ local context = InstallContext:new(handle, location, opts and opts.install_opts or {})
context.spawn = setmetatable({}, {
__index = function(s, cmd)
s[cmd] = spy.new(function()