refactor(test): unify XDG path handling (cmake vs zig)

fixes #40381
This commit is contained in:
bfredl
2026-07-01 10:40:18 +02:00
parent dbe59b5457
commit 349f810eed
7 changed files with 29 additions and 37 deletions

View File

@@ -165,9 +165,6 @@ describe('nvim.dir', function()
end)
it('uses an absolute buffer name for a relative startup directory argument', function()
if t.is_zig_build() then
return pending('broken with build.zig relative runtime paths after chdir')
end
make_fixture()
local cwd = assert(vim.uv.cwd())
assert(vim.uv.chdir(root))
@@ -373,9 +370,6 @@ describe('nvim.dir', function()
end)
it('coexists with netrw and can be disabled', function()
if t.is_zig_build() then
return pending('broken with build.zig relative runtime paths after chdir')
end
make_fixture()
n.clear({ args_rm = { '-u' } })
local cwd = fn.getcwd()
@@ -399,7 +393,7 @@ describe('nvim.dir', function()
it('supports the FileExplorer browse contract', function()
if t.is_zig_build() then
return pending('broken with build.zig relative runtime paths after chdir')
return pending('broken with build.zig: TMPDIR relative cwd')
end
make_fixture()
n.clear({ args_rm = { '-u' } })