diff options
Diffstat (limited to 'tests/mason-registry/registry_spec.lua')
| -rw-r--r-- | tests/mason-registry/registry_spec.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/mason-registry/registry_spec.lua b/tests/mason-registry/registry_spec.lua index 5931ca35..359c0630 100644 --- a/tests/mason-registry/registry_spec.lua +++ b/tests/mason-registry/registry_spec.lua @@ -17,4 +17,8 @@ describe("mason-registry", function() assert.is_true(registry.has_package "dummy") assert.is_false(registry.has_package "non-existent") end) + + it("should get all package specs", function() + assert.equals(3, #registry.get_all_package_specs()) + end) end) |
