Skip to content

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

chore(tests): remove unused test module

Steven Enamakel0c8d0aa8dc1f
diff --git a/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs b/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs
index 58a7a5a6d9..b94bfe3dbe 100644
--- a/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs
+++ b/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs
@@ -832,10 +832,9 @@ async fn loading_a_skill_prints_its_guide_before_the_tool_schemas() {
.await
.unwrap();
assert!(!result.is_error);
- let text = result.output();
- let guide_at = text
- .find(web3.guide.trim().lines().next().unwrap())
- .expect("guide rendered");
+ let text = format!("{:?}", result.content);
+ let opening: String = web3.guide.trim().chars().take(40).collect();
+ let guide_at = text.find(&opening).expect("guide rendered");
let schema_at = text.find("## `wallet_status`").expect("tool rendered");
assert!(guide_at < schema_at, "guide must precede the schemas:\n{text}");
}