Skip to content

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

test: reformat assertion in tool limit test for readability

Steven Enamakelf76dc7fc3b4b
diff --git a/crates/openhuman-core/src/agent/tinyagents/turn_runner_tests.rs b/crates/openhuman-core/src/agent/tinyagents/turn_runner_tests.rs
index a5cad81fa6..d79f35e07a 100644
--- a/crates/openhuman-core/src/agent/tinyagents/turn_runner_tests.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/turn_runner_tests.rs
@@ -202,7 +202,10 @@ async fn positive_scoped_tool_limit_caps_hosted_runner_inner() {
.await;
let error = outcome.expect_err("hosted runner must stop at its one-call tool budget");
- assert!(format!("{error:#}").contains("tool-call limit"), "{error:#}");
+ assert!(
+ format!("{error:#}").contains("tool-call limit"),
+ "{error:#}"
+ );
assert_eq!(tool_calls.load(std::sync::atomic::Ordering::SeqCst), 1);
assert!(model_calls.load(std::sync::atomic::Ordering::SeqCst) >= 1);
}