From 6ee823248f5fc433018ee800c22eef642e375bd1 Mon Sep 17 00:00:00 2001 From: William Boman Date: Mon, 26 Dec 2022 16:35:10 +0100 Subject: refactor(installer): introduce PackageInstallOpts class (#802) --- tests/mason-core/managers/git_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/mason-core/managers/git_spec.lua') diff --git a/tests/mason-core/managers/git_spec.lua b/tests/mason-core/managers/git_spec.lua index 684d0e54..ec157ecc 100644 --- a/tests/mason-core/managers/git_spec.lua +++ b/tests/mason-core/managers/git_spec.lua @@ -47,7 +47,7 @@ describe("git manager", function() "should fetch and checkout revision if requested", async_test(function() local handle = InstallHandleGenerator "dummy" - local ctx = InstallContextGenerator(handle, { requested_version = "1337" }) + local ctx = InstallContextGenerator(handle, { version = "1337" }) installer.exec_in_context(ctx, function() git.clone { "https://github.com/williamboman/mason.nvim.git" } end) -- cgit v1.2.3-70-g09d2