Files
egui/crates
Emil ErnerfeldtandClaude Opus 5 7ba3dbc4b0 Fix a flaky test in id::debug_format_tests (#8573)
`with_salt_matches_with` and `with_one_child` built the same `Id` by
different routes.
The debug source map keeps the first spelling it sees for an `Id` and
ignores later ones, so whichever test ran first decided what the other
one's `{:?}` printed — and the test order is not fixed.

Giving `with_salt_matches_with` sources of its own removes the shared
entry.

Surfaced by the red `Run tests` on #8571, which does not touch `id.rs`.
It reproduces on `main`: running just the two tests together, 10 of 15
runs failed before this change, and 12 runs of the whole module after it
failed none.

🤖 This PR was opened by a coding agent (Claude Opus 5).

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-16 09:59:00 +00:00
..
2026-09-08 15:29:48 +00:00
2026-09-08 15:29:48 +00:00
2026-09-08 15:29:48 +00:00