Skip to content

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

test(openhuman-embed): reformat cancelled repair assertion

Steven Enamakel14fb8d66641f
diff --git a/crates/openhuman-embed/src/complete_tests.rs b/crates/openhuman-embed/src/complete_tests.rs
index d867f397cd..c0782cbca5 100644
--- a/crates/openhuman-embed/src/complete_tests.rs
+++ b/crates/openhuman-embed/src/complete_tests.rs
@@ -385,7 +385,10 @@ async fn physical_observer_keeps_completed_usage_when_a_repair_is_cancelled() {
.await
.expect("repair dispatch reached the delayed provider response");
cancellation.cancel().await;
- assert!(matches!(task.await.unwrap(), Err(CoreError::Cancelled { .. })));
+ assert!(matches!(
+ task.await.unwrap(),
+ Err(CoreError::Cancelled { .. })
+ ));
let events = recorder.0.lock().unwrap();
assert_eq!(events.len(), 2);