Skip to content

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

test(orchestration): collapse repeated cancel assertion onto one line

Steven Enamakelc7217e40dc8f
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rs
index 3fcf581f36..a70ff3d7e4 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rs
@@ -251,10 +251,7 @@ async fn cancelling_a_paused_driver_through_rpc_settles_once_with_its_reason() {
.await
.expect("repeated cancel RPC result");
assert_eq!(response_field(&repeated, "cancelled"), Some(json!(false)));
- assert_eq!(
- response_field(&repeated, "outcome"),
- Some(json!("unknown"))
- );
+ assert_eq!(response_field(&repeated, "outcome"), Some(json!("unknown")));
forget_workspace_for_test(workspace.path());
assert!(!parent_cancellation.is_cancelled());
}