Skip to content

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

test(session_host): reformat assertion for readability

Steven Enamakelf14e659c856a
diff --git a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_host_tools_tests.rs b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_host_tools_tests.rs
index 783b8f86a5..321d4da4d8 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_host_tools_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_host_tools_tests.rs
@@ -254,7 +254,9 @@ fn invalid_dynamic_prompt_fails_before_the_host_tool_factory_runs() {
.err()
.expect("a dynamic prompt without a builder must be rejected");
- assert!(error.to_string().contains("dynamic prompt but has no builder"));
+ assert!(error
+ .to_string()
+ .contains("dynamic prompt but has no builder"));
assert_eq!(
calls.load(Ordering::SeqCst),
0,