aboutsummaryrefslogtreecommitdiffstats
path: root/tests/core/installer_spec.lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2022-07-07 01:09:32 +0200
committerWilliam Boman <william@redwill.se>2022-07-07 01:09:32 +0200
commit4ea062ed9e06b79020377831bc523bbf1fae3e9c (patch)
treecd33373fa5de4dfa1cad82fcaad016a75e5eecff /tests/core/installer_spec.lua
parentstyle: run stylua (diff)
downloadmason-4ea062ed9e06b79020377831bc523bbf1fae3e9c.tar
mason-4ea062ed9e06b79020377831bc523bbf1fae3e9c.tar.gz
mason-4ea062ed9e06b79020377831bc523bbf1fae3e9c.tar.bz2
mason-4ea062ed9e06b79020377831bc523bbf1fae3e9c.tar.lz
mason-4ea062ed9e06b79020377831bc523bbf1fae3e9c.tar.xz
mason-4ea062ed9e06b79020377831bc523bbf1fae3e9c.tar.zst
mason-4ea062ed9e06b79020377831bc523bbf1fae3e9c.zip
style: more stylua
Diffstat (limited to 'tests/core/installer_spec.lua')
-rw-r--r--tests/core/installer_spec.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/core/installer_spec.lua b/tests/core/installer_spec.lua
index 62e5421e..857721bb 100644
--- a/tests/core/installer_spec.lua
+++ b/tests/core/installer_spec.lua
@@ -60,10 +60,9 @@ describe("installer", function()
local handle = InstallHandleGenerator "dummy"
installer.execute(handle, {})
assert.spy(fs.async.write_file).was_called(1)
- assert.spy(fs.async.write_file).was_called_with(
- ("%s/mason-receipt.json"):format(handle.package:get_install_path()),
- match.is_string()
- )
+ assert
+ .spy(fs.async.write_file)
+ .was_called_with(("%s/mason-receipt.json"):format(handle.package:get_install_path()), match.is_string())
end)
)