diff options
Diffstat (limited to 'tests/mason-core/installer/installer_spec.lua')
| -rw-r--r-- | tests/mason-core/installer/installer_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mason-core/installer/installer_spec.lua b/tests/mason-core/installer/installer_spec.lua index 66cdb89b..aa459cce 100644 --- a/tests/mason-core/installer/installer_spec.lua +++ b/tests/mason-core/installer/installer_spec.lua @@ -63,7 +63,7 @@ describe("installer", function() local handler = InstallHandleGenerator "dummy" ---@param ctx InstallContext handler.package.spec.install = function(ctx) - ctx.receipt:with_primary_source { type = "source", metadata = {} } + ctx.receipt:with_primary_source { type = "source", source = {} } ctx.fs:write_file("target", "") ctx.fs:write_file("file.jar", "") @@ -86,7 +86,7 @@ describe("installer", function() ---@type InstallReceipt local receipt = vim.json.decode(arg) assert.equals("dummy", receipt.name) - assert.same({ type = "source", metadata = {} }, receipt.primary_source) + assert.same({ type = "source", source = {} }, receipt.primary_source) assert.same({}, receipt.secondary_sources) assert.same("1.1", receipt.schema_version) assert.same({ |
