diff options
Diffstat (limited to 'tests/core/installer_spec.lua')
| -rw-r--r-- | tests/core/installer_spec.lua | 7 |
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) ) |
