aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mason-core/managers/luarocks_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mason-core/managers/luarocks_spec.lua')
-rw-r--r--tests/mason-core/managers/luarocks_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mason-core/managers/luarocks_spec.lua b/tests/mason-core/managers/luarocks_spec.lua
index 9065ca69..98376adc 100644
--- a/tests/mason-core/managers/luarocks_spec.lua
+++ b/tests/mason-core/managers/luarocks_spec.lua
@@ -26,7 +26,7 @@ describe("luarocks manager", function()
"should install provided version",
async_test(function()
local handle = InstallHandleGenerator "dummy"
- local ctx = InstallContextGenerator(handle, { requested_version = "1.2.3" })
+ local ctx = InstallContextGenerator(handle, { version = "1.2.3" })
installer.exec_in_context(ctx, luarocks.package "lua-cjson")
assert.spy(ctx.spawn.luarocks).was_called(1)
assert.spy(ctx.spawn.luarocks).was_called_with {