diff options
| author | William Boman <william@redwill.se> | 2022-08-17 23:39:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-17 21:39:02 +0000 |
| commit | 496c55ecf9700abc90a4bdaec5b83cca5d58768a (patch) | |
| tree | 79a2389a6a1a712c42df4f7df836c900535e70a2 /tests | |
| parent | feat: add yapf (#304) (diff) | |
| download | mason-496c55ecf9700abc90a4bdaec5b83cca5d58768a.tar mason-496c55ecf9700abc90a4bdaec5b83cca5d58768a.tar.gz mason-496c55ecf9700abc90a4bdaec5b83cca5d58768a.tar.bz2 mason-496c55ecf9700abc90a4bdaec5b83cca5d58768a.tar.lz mason-496c55ecf9700abc90a4bdaec5b83cca5d58768a.tar.xz mason-496c55ecf9700abc90a4bdaec5b83cca5d58768a.tar.zst mason-496c55ecf9700abc90a4bdaec5b83cca5d58768a.zip | |
fix(fetch): use correct header syntax for wget (#307)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/mason-core/fetch_spec.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/mason-core/fetch_spec.lua b/tests/mason-core/fetch_spec.lua index 5385f546..a6237ff1 100644 --- a/tests/mason-core/fetch_spec.lua +++ b/tests/mason-core/fetch_spec.lua @@ -21,8 +21,8 @@ describe("fetch", function() assert.spy(spawn.curl).was_called(1) assert.spy(spawn.wget).was_called_with { { - "--header='User-Agent: mason.nvim (+https://github.com/williamboman/mason.nvim)'", - "--header='X-Custom-Header: here'", + "--header=User-Agent: mason.nvim (+https://github.com/williamboman/mason.nvim)", + "--header=X-Custom-Header: here", }, "-nv", "-O", @@ -77,7 +77,7 @@ describe("fetch", function() assert.spy(spawn.wget).was_called_with { { - "--header='User-Agent: mason.nvim (+https://github.com/williamboman/mason.nvim)'", + "--header=User-Agent: mason.nvim (+https://github.com/williamboman/mason.nvim)", }, "-nv", "-O", |
