Diagnostics embed the absolute source path, but normalize() only scrubbed hex addresses, so expected snapshots baked in the canonical checkout path (/Users/agra/projects/sx/...). The suite only passed when run from that exact directory; from a git worktree all 44 path-printing diagnostics mismatched. Collapse any absolute `.../examples/` or `.../issues/` prefix to the repo- relative form. The rule runs through normalize(), which is applied identically to both expected and actual output, so it can only reconcile path noise — it cannot desync an otherwise-matching pair. No snapshots regenerated. Suite now reports 350 passed / 0 failed from a worktree as well as the canonical tree.
4.6 KiB
Executable File
4.6 KiB
Executable File