Clone label witness in route reset regression assertion

This commit is contained in:
2026-09-24 19:04:32 -07:00
parent f0d64b531a
commit 3dfbe1959d
+1 -1
View File
@@ -949,7 +949,7 @@ fn layout_batch_uses_staged_visibility_and_one_final_validation_history_boundary
after.diagrams[&f.diagram]
.routes
.iter()
.map(|r| (r.edge, r.waypoints.len(), r.label))
.map(|r| (r.edge, r.waypoints.len(), r.label.clone()))
.collect::<Vec<_>>(),
vec![
(f.edge, 2, route(f.edge).label),