Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(agent_runs): simplify delegation name assertion

Steven Enamakel3250a6510d7f
diff --git a/crates/openhuman-core/src/agent_runs/schemas_tests.rs b/crates/openhuman-core/src/agent_runs/schemas_tests.rs
index 0317d7ae5c..133283ae4b 100644
--- a/crates/openhuman-core/src/agent_runs/schemas_tests.rs
+++ b/crates/openhuman-core/src/agent_runs/schemas_tests.rs
@@ -85,7 +85,7 @@ fn host_graph_topology_projection_keeps_delegation_only() {
.into_iter()
.map(|report| report.name)
.collect();
- assert!(names.contains(&"delegation".to_owned()), "saw {names:?}");
+ assert!(names.contains(&"delegation"), "saw {names:?}");
assert!(
!names.iter().any(|name| name.starts_with("agent_teams:")),
"retired team graphs must not be projected: {names:?}"