aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2025-04-21 21:17:45 +0200
committerWilliam Boman <william@redwill.se>2025-04-21 21:18:28 +0200
commit130936b87368e2c37cec013f69b1aa94c6f2fd20 (patch)
tree724e4dd808615e0b2d632ca5c7b8b9ec45450751 /tests
parentfix(ui): fix setting outdated package state (diff)
downloadmason-130936b87368e2c37cec013f69b1aa94c6f2fd20.tar
mason-130936b87368e2c37cec013f69b1aa94c6f2fd20.tar.gz
mason-130936b87368e2c37cec013f69b1aa94c6f2fd20.tar.bz2
mason-130936b87368e2c37cec013f69b1aa94c6f2fd20.tar.lz
mason-130936b87368e2c37cec013f69b1aa94c6f2fd20.tar.xz
mason-130936b87368e2c37cec013f69b1aa94c6f2fd20.tar.zst
mason-130936b87368e2c37cec013f69b1aa94c6f2fd20.zip
feat(ui): display current version in header
Diffstat (limited to 'tests')
-rw-r--r--tests/mason-registry/registry_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mason-registry/registry_spec.lua b/tests/mason-registry/registry_spec.lua
index 35c37853..89b9436f 100644
--- a/tests/mason-registry/registry_spec.lua
+++ b/tests/mason-registry/registry_spec.lua
@@ -1,6 +1,6 @@
local Pkg = require "mason-core.package"
-local test_helpers = require "mason-test.helpers"
local registry = require "mason-registry"
+local test_helpers = require "mason-test.helpers"
describe("mason-registry", function()
it("should return package", function()
@@ -23,7 +23,7 @@ describe("mason-registry", function()
assert.equals(3, #registry.get_all_package_specs())
end)
- it("should check if package is installed", function ()
+ it("should check if package is installed", function()
local dummy = registry.get_package "dummy"
assert.is_false(registry.is_installed "dummy")
test_helpers.sync_install(dummy)