diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/mason-core/installer/registry/providers/pypi_spec.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/mason-core/installer/registry/providers/pypi_spec.lua b/tests/mason-core/installer/registry/providers/pypi_spec.lua index 25119486..f6f4c5c3 100644 --- a/tests/mason-core/installer/registry/providers/pypi_spec.lua +++ b/tests/mason-core/installer/registry/providers/pypi_spec.lua @@ -76,7 +76,11 @@ describe("pypi provider :: installing", function() install_extra_args = { "--proxy", "http://localghost" }, } assert.spy(manager.install).was_called(1) - assert.spy(manager.install).was_called_with("package", "1.5.0", { extra = "lsp", extra_packages = { "extra" } }) + assert.spy(manager.install).was_called_with( + "package", + "1.5.0", + { extra = "lsp", extra_packages = { "extra" }, install_extra_args = { "--proxy", "http://localghost" } } + ) settings.set(settings._DEFAULT_SETTINGS) end) |
