aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/mason-core/installer/installer_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mason-core/installer/installer_spec.lua b/tests/mason-core/installer/installer_spec.lua
index ead08f18..421de34b 100644
--- a/tests/mason-core/installer/installer_spec.lua
+++ b/tests/mason-core/installer/installer_spec.lua
@@ -47,7 +47,7 @@ describe("installer", function()
local result = installer.execute(handler, {})
assert.spy(installer_fn).was_called(1)
assert.is_true(result:is_failure())
- assert.is_true(match.has_match "^.*: something went wrong. don't try again.$"(result:err_or_nil()))
+ assert.equals("something went wrong. don't try again.", result:err_or_nil())
assert.spy(fs.async.rmrf).was_called_with(path.package_build_prefix "dummy")
assert.spy(fs.async.rename).was_not_called()
end)