Skip to content

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

fix(test): improve assertion failure message in rejects_single_task

Steven Enamakel00026c7391b8
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents_policy_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents_policy_tests.rs
index 49b53c30ba..5ec47c1120 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents_policy_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents_policy_tests.rs
@@ -118,7 +118,7 @@ async fn rejects_single_task() {
.await
.unwrap();
assert!(result.is_error);
- assert!(result.output().contains("at least two"));
+ assert!(result.output().contains("at least two"), "got: {}", result.output());
}
#[tokio::test]