From 1c64e52f6e256cfa334ba70d79ccca59ddc56884 Mon Sep 17 00:00:00 2001 From: Rod Boev Date: Sat, 1 Aug 2026 19:36:02 -0400 Subject: [PATCH] test(workspace): cover escape-link partition metadata (#6066) --- tests/test_issue6066_workspace_sort.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_issue6066_workspace_sort.py b/tests/test_issue6066_workspace_sort.py index 39e597e2..426d6f4e 100644 --- a/tests/test_issue6066_workspace_sort.py +++ b/tests/test_issue6066_workspace_sort.py @@ -83,6 +83,7 @@ def test_escape_symlink_birthtime_is_link_local(tmp_path): pytest.skip(f"symlink unavailable: {exc}") entry = next(item for item in workspace_api.list_dir(workspace, ".") if item["name"] == "escape.txt") assert entry["target_outside_workspace"] is True + assert entry["workspace_sort_rank"] == 0 birthtime_ns = getattr(workspace_api, "_birthtime_ns", None) assert birthtime_ns is not None, "_birthtime_ns helper is missing" assert entry["birthtime_ns"] == birthtime_ns(link.lstat())