aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mason-core/fs_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mason-core/fs_spec.lua')
-rw-r--r--tests/mason-core/fs_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mason-core/fs_spec.lua b/tests/mason-core/fs_spec.lua
index c3d5fea7..38f97eeb 100644
--- a/tests/mason-core/fs_spec.lua
+++ b/tests/mason-core/fs_spec.lua
@@ -11,11 +11,11 @@ describe("fs", function()
it(
"refuses to rmrf paths outside of boundary",
async_test(function()
- local e = assert.has.errors(function()
+ local e = assert.has_error(function()
fs.async.rmrf "/thisisa/path"
end)
- assert.equal(
+ assert.equals(
[[Refusing to rmrf "/thisisa/path" which is outside of the allowed boundary "/foo". Please report this error at https://github.com/williamboman/mason.nvim/issues/new]],
e
)