diff options
| author | William Boman <william@redwill.se> | 2025-05-06 23:30:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-06 23:30:27 +0200 |
| commit | 7c7318e8bae7e3536ef6b9e86b9e38e74f2e125e (patch) | |
| tree | 774be39734bd2a13dc15d44b0d03312158c817f9 /tests/mason-core | |
| parent | tests: fix flaky test (#1924) (diff) | |
| download | mason-7c7318e8bae7e3536ef6b9e86b9e38e74f2e125e.tar mason-7c7318e8bae7e3536ef6b9e86b9e38e74f2e125e.tar.gz mason-7c7318e8bae7e3536ef6b9e86b9e38e74f2e125e.tar.bz2 mason-7c7318e8bae7e3536ef6b9e86b9e38e74f2e125e.tar.lz mason-7c7318e8bae7e3536ef6b9e86b9e38e74f2e125e.tar.xz mason-7c7318e8bae7e3536ef6b9e86b9e38e74f2e125e.tar.zst mason-7c7318e8bae7e3536ef6b9e86b9e38e74f2e125e.zip | |
docs: update references to mason-org/mason.nvim (#1925)
Diffstat (limited to 'tests/mason-core')
| -rw-r--r-- | tests/mason-core/fetch_spec.lua | 8 | ||||
| -rw-r--r-- | tests/mason-core/fs_spec.lua | 2 | ||||
| -rw-r--r-- | tests/mason-core/installer/managers/std_spec.lua | 8 |
3 files changed, 9 insertions, 9 deletions
diff --git a/tests/mason-core/fetch_spec.lua b/tests/mason-core/fetch_spec.lua index 5a890318..98697563 100644 --- a/tests/mason-core/fetch_spec.lua +++ b/tests/mason-core/fetch_spec.lua @@ -30,7 +30,7 @@ describe("fetch", function() assert.spy(spawn.curl).was_called(1) assert.spy(spawn.wget).was_called_with { { - ("--header=User-Agent: mason.nvim %s (+https://github.com/williamboman/mason.nvim)"):format( + ("--header=User-Agent: mason.nvim %s (+https://github.com/mason-org/mason.nvim)"):format( version.VERSION ), "--header=X-Custom-Header: here", @@ -50,7 +50,7 @@ describe("fetch", function() match.same { { "-H", - ("User-Agent: mason.nvim %s (+https://github.com/williamboman/mason.nvim)"):format(version.VERSION), + ("User-Agent: mason.nvim %s (+https://github.com/mason-org/mason.nvim)"):format(version.VERSION), }, { "-H", @@ -86,7 +86,7 @@ describe("fetch", function() assert.spy(spawn.wget).was_called_with { { - ("--header=User-Agent: mason.nvim %s (+https://github.com/williamboman/mason.nvim)"):format( + ("--header=User-Agent: mason.nvim %s (+https://github.com/mason-org/mason.nvim)"):format( version.VERSION ), }, @@ -105,7 +105,7 @@ describe("fetch", function() match.same { { "-H", - ("User-Agent: mason.nvim %s (+https://github.com/williamboman/mason.nvim)"):format(version.VERSION), + ("User-Agent: mason.nvim %s (+https://github.com/mason-org/mason.nvim)"):format(version.VERSION), }, }, "-fsSL", diff --git a/tests/mason-core/fs_spec.lua b/tests/mason-core/fs_spec.lua index bd3696da..9df22578 100644 --- a/tests/mason-core/fs_spec.lua +++ b/tests/mason-core/fs_spec.lua @@ -14,7 +14,7 @@ describe("fs", function() end) 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]], + [[Refusing to rmrf "/thisisa/path" which is outside of the allowed boundary "/foo". Please report this error at https://github.com/mason-org/mason.nvim/issues/new]], e ) end) diff --git a/tests/mason-core/installer/managers/std_spec.lua b/tests/mason-core/installer/managers/std_spec.lua index 20caac18..2ef74817 100644 --- a/tests/mason-core/installer/managers/std_spec.lua +++ b/tests/mason-core/installer/managers/std_spec.lua @@ -141,7 +141,7 @@ describe("std clone", function() it("should clone", function() local ctx = test_helpers.create_context() ctx:execute(function() - std.clone "https://github.com/williamboman/mason.nvim" + std.clone "https://github.com/mason-org/mason.nvim" end) assert.spy(ctx.spawn.git).was_called(1) @@ -150,7 +150,7 @@ describe("std clone", function() "--depth", "1", vim.NIL, -- recursive - "https://github.com/williamboman/mason.nvim", + "https://github.com/mason-org/mason.nvim", ".", } end) @@ -158,7 +158,7 @@ describe("std clone", function() it("should clone and checkout rev", function() local ctx = test_helpers.create_context() ctx:execute(function() - std.clone("https://github.com/williamboman/mason.nvim", { + std.clone("https://github.com/mason-org/mason.nvim", { rev = "e1fd03b1856cb5ad8425f49e18353dc524b02f91", recursive = true, }) @@ -170,7 +170,7 @@ describe("std clone", function() "--depth", "1", "--recursive", - "https://github.com/williamboman/mason.nvim", + "https://github.com/mason-org/mason.nvim", ".", } assert |
