mirror of
https://github.com/neovim/neovim.git
synced 2026-03-28 03:12:00 +00:00
test: fs_spec fails if home is a symlink #38258
This commit is contained in:
@@ -106,6 +106,11 @@ function M.neq(expected, actual, context)
|
||||
return luaassert.are_not.same(expected, actual, context)
|
||||
end
|
||||
|
||||
--- Compare paths after resolving symlinks with realpath.
|
||||
function M.eq_paths(expected, actual, context)
|
||||
return M.eq(uv.fs_realpath(expected), uv.fs_realpath(actual), context)
|
||||
end
|
||||
|
||||
--- Asserts that `cond` is true, or prints a message.
|
||||
---
|
||||
--- @param cond (boolean) expression to assert
|
||||
|
||||
Reference in New Issue
Block a user