Skip to content

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

test: reformat long assertions in tokenjuice test

Steven Enamakelccb1ddeae99c
diff --git a/crates/openhuman-core/src/inference/tokenjuice/mod_tests.rs b/crates/openhuman-core/src/inference/tokenjuice/mod_tests.rs
index 262b87f044..c739aaefcd 100644
--- a/crates/openhuman-core/src/inference/tokenjuice/mod_tests.rs
+++ b/crates/openhuman-core/src/inference/tokenjuice/mod_tests.rs
@@ -44,13 +44,18 @@ async fn the_module_defers_a_summary_until_requested() {
.await;
assert_eq!(output.summarized_from_bytes, None);
- assert!(!output.text.contains("the rate limit is 60 requests a minute"));
+ assert!(!output
+ .text
+ .contains("the rate limit is 60 requests a minute"));
assert!(
output.text.contains(RETRIEVE_TOOL_NAME),
"the original stays retrievable: {}",
output.text
);
- assert!(seen.lock().unwrap().is_none(), "ingest called the summary model");
+ assert!(
+ seen.lock().unwrap().is_none(),
+ "ingest called the summary model"
+ );
}
/// A result that was registered for a summary and never reached the module